wok-next annotate guile/receipt @ rev 20464
Combine receipts (final)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 07 19:43:44 2018 +0200 (2018-03-07) |
parents | 45f88b8d607c |
children | e545e47edffa |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pankso@4044 | 2 |
pankso@4044 | 3 PACKAGE="guile" |
slaxemulator@8444 | 4 VERSION="1.8.8" |
pankso@4044 | 5 CATEGORY="development" |
al@20464 | 6 SHORT_DESC="Project GNU's extension language" |
pankso@4044 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15589 | 8 LICENSE="LGPL2.1" |
al@20464 | 9 WEB_SITE="http://www.gnu.org/software/guile/" |
al@20464 | 10 |
pankso@4044 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15589 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@15589 | 13 |
erjo@8736 | 14 BUILD_DEPENDS="libtool gmp-dev" |
al@20464 | 15 SPLIT="guile-dev" |
pankso@4044 | 16 |
al@20464 | 17 compile_rules() { |
pankso@4044 | 18 ./configure \ |
slaxemulator@11112 | 19 --disable-error-on-warning \ |
domcox@15735 | 20 $CONFIGURE_ARGS && |
domcox@15735 | 21 make && |
slaxemulator@11112 | 22 make DESTDIR=$DESTDIR install |
pankso@4044 | 23 } |
pankso@4044 | 24 |
al@20464 | 25 genpkg_rules() { |
al@20464 | 26 case $PACKAGE in |
al@20464 | 27 guile) |
al@20464 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
al@20464 | 29 cp -a $install/usr/bin $fs/usr |
al@20464 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20464 | 31 cp -a $install/usr/share/guile $fs/usr/share |
al@20464 | 32 DEPENDS="gmp readline ncurses libltdl" |
al@20464 | 33 ;; |
al@20464 | 34 *-dev) |
al@20464 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
al@20464 | 36 cp -a $install/usr/include $fs/usr |
al@20464 | 37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@20464 | 38 cp -a $install/usr/lib/*.*a $fs/usr/lib |
al@20464 | 39 cp -a $install/usr/share/aclocal $fs/usr/share |
al@20464 | 40 DEPENDS="guile gmp-dev" |
al@20464 | 41 ;; |
al@20464 | 42 esac |
pankso@4044 | 43 } |