summaryrefslogtreecommitdiff
blob: 7e9d00bf9bd6dc6c041e5f584124e58c4d019781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-libs/slib/slib-2.3.8-r2.ebuild,v 1.1 2000/11/21 10:28:29 achim Exp $

P=slib2c8
A=${P}.zip
S=${WORKDIR}/slib
DESCRIPTION=""
SRC_URI="http://swissnet.ai.mit.edu/ftpdir/scm/${A}"
HOMEPAGE="http://swissnet.ai.mit.edu/~jaffer/SLIB.html"

DEPEND=">=app-arch/unzip-5.21
	>=dev-util/guile-1.4"

src_install () {

    cd ${S}
    insinto /usr/share/guile/site/slib
    doins *.scm
    dodoc ANNOUNCE ChangeLog FAQ README 
    doinfo slib.info
}

pkg_postinst () {
    if [ "${ROOT}" == "/" ]
    then
        echo "Installing..."
       guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" "/" 
    fi
}