wok diff pmail/receipt @ rev 18337
Up xz (5.2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 10 17:36:08 2015 +0200 (2015-09-10) |
parents | 127223567b88 |
children | 42380dbaadb7 |
line diff
1.1 --- a/pmail/receipt Wed Feb 29 20:11:00 2012 +0100 1.2 +++ b/pmail/receipt Thu Sep 10 17:36:08 2015 +0200 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Mail transfer client based on the protocols of POP3 and SMTP." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/" 1.10 WGET_URL="${WEB_SITE}$TARBALL" 1.11 @@ -13,20 +14,20 @@ 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - sed -i -e 's|BINDIR = @prefix@/bin|BINDIR = _pkg/usr/bin|' \ 1.16 - -e 's|MANDIR = @prefix@/man/man1|MANDIR = _pkg/usr/man/man1|' \ 1.17 + sed -i -e "s|BINDIR = @prefix@/bin|BINDIR = $DESTDIR/usr/bin|" \ 1.18 + -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/man/man1|" \ 1.19 Makefile.in 1.20 - mkdir -p _pkg/usr/bin _pkg/usr/man/man1 1.21 + mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/man/man1 1.22 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 make -j 1 && 1.25 - make DESTDIR=$PWD/_pkg install 1.26 + make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 mkdir -p $fs/usr 1.33 - cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $install/usr/bin $fs/usr 1.35 } 1.36