wok-next diff guile/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | 45f88b8d607c |
children | e545e47edffa |
line diff
1.1 --- a/guile/receipt Wed Jan 01 20:44:08 2014 +0100 1.2 +++ b/guile/receipt Mon Mar 12 10:46:52 2018 +0100 1.3 @@ -1,26 +1,20 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="guile" 1.8 VERSION="1.8.8" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Project GNU's extension language." 1.11 +SHORT_DESC="Project GNU's extension language" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="http://www.gnu.org/software/guile/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.gnu.org/software/guile/" 1.18 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="gmp readline ncurses libltdl" 1.21 BUILD_DEPENDS="libtool gmp-dev" 1.22 +SPLIT="guile-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 - 1.29 - # http://bugs.gentoo.org/show_bug.cgi?id=317175 1.30 - patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1 1.31 - 1.32 +compile_rules() { 1.33 ./configure \ 1.34 --disable-error-on-warning \ 1.35 $CONFIGURE_ARGS && 1.36 @@ -28,11 +22,22 @@ 1.37 make DESTDIR=$DESTDIR install 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/lib $fs/usr/share 1.44 - cp -a $install/usr/bin $fs/usr 1.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.46 - cp -a $install/usr/share/guile $fs/usr/share 1.47 +genpkg_rules() { 1.48 + case $PACKAGE in 1.49 + guile) 1.50 + mkdir -p $fs/usr/lib $fs/usr/share 1.51 + cp -a $install/usr/bin $fs/usr 1.52 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.53 + cp -a $install/usr/share/guile $fs/usr/share 1.54 + DEPENDS="gmp readline ncurses libltdl" 1.55 + ;; 1.56 + *-dev) 1.57 + mkdir -p $fs/usr/lib $fs/usr/share 1.58 + cp -a $install/usr/include $fs/usr 1.59 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.60 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.61 + cp -a $install/usr/share/aclocal $fs/usr/share 1.62 + DEPENDS="guile gmp-dev" 1.63 + ;; 1.64 + esac 1.65 }