wok-current view guile/receipt @ rev 12086
osmo: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:48:21 2012 -0500 (2012-03-09) |
parents | d1768332cee0 |
children | d1c17bd2c2bc |
line source
1 # SliTaz package receipt.
3 PACKAGE="guile"
4 VERSION="1.8.8"
5 CATEGORY="development"
6 SHORT_DESC="Project GNU's extension language."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="gmp readline ncurses libltdl"
10 BUILD_DEPENDS="libtool gmp-dev"
11 WEB_SITE="http://www.gnu.org/software/guile/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # http://bugs.gentoo.org/show_bug.cgi?id=317175
20 patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1
22 ./configure \
23 --disable-error-on-warning \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/guile $fs/usr/share
36 }