wok view guile/receipt @ rev 10274
ncurses*: build fail if native build system is used so use the compiler machine type
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 21 21:22:47 2011 +0200 (2011-05-21) |
parents | ea6f4468827b |
children | 5673f562e116 |
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 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/share/guile $fs/usr/share
38 }