blob: 28fe6e454afccf06de51f9dfbc055dd031d043a1 (
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
33
|
# 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.9.ebuild,v 1.2 2001/05/05 13:03:10 achim Exp $
P=slib2c9
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
>=dev-libs/g-wrap-0.9.5"
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
}
|