wok-next diff nail/receipt @ rev 17726
glibc-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 21:54:05 2015 +0100 (2015-03-05) |
parents | 749ffdd335d7 |
children | 9e01bc6321ea |
line diff
1.1 --- a/nail/receipt Sun May 26 17:48:34 2013 +0200 1.2 +++ b/nail/receipt Thu Mar 05 21:54:05 2015 +0100 1.3 @@ -5,8 +5,7 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Text mode mail user agent." 1.6 MAINTAINER="sygne@ombres.eu" 1.7 -DEPENDS="openssl" 1.8 -BUILD_DEPENDS="openssl-dev" 1.9 +LICENSE="BSD" 1.10 SOURCE="mailx" 1.11 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.12 WEB_SITE="http://heirloom.sourceforge.net/mailx.html" 1.13 @@ -14,6 +13,9 @@ 1.14 CONFIG_FILES="/etc/nailrc" 1.15 TAGS="email imap pop3" 1.16 1.17 +DEPENDS="openssl" 1.18 +BUILD_DEPENDS="openssl-dev" 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 @@ -27,17 +29,17 @@ 1.24 sed -i -e "s/-lgssapi_krb5//g" LIBS 1.25 1.26 make install UCBINSTALL=/usr/bin/install \ 1.27 - DESTDIR=$PWD/_pkg PREFIX=/usr 1.28 + DESTDIR=$DESTDIR PREFIX=/usr 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr 1.35 - cp -r $_pkg/usr/bin $fs/usr 1.36 + cp -r $install/usr/bin $fs/usr 1.37 mv $fs/usr/bin/mailx $fs/usr/bin/nail 1.38 1.39 - cp -r $_pkg/etc $fs 1.40 + cp -r $install/etc $fs 1.41 } 1.42 1.43 # Post install commands for Tazpkg.