wok-6.x view guile/receipt @ rev 5889

guile: Fix build with GCC 4.5
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 22 01:56:20 2010 +0200 (2010-07-22)
parents 9f19aee613be
children 6d9995754b73
line source
1 # SliTaz package receipt.
3 PACKAGE="guile"
4 VERSION="1.8.7"
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 libtool readline ncurses"
10 WEB_SITE="http://www.gnu.org/software/guile/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
18 # http://bugs.gentoo.org/show_bug.cgi?id=317175
19 patch -p1 < ../stuff/guile-1.8.7-gcc45.u || exit 1
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/share/guile $fs/usr/share
37 }