wok diff pmail/receipt @ rev 6135

Up: transmission 2.04
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 07 14:16:20 2010 +0000 (2010-09-07)
parents
children 127223567b88
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pmail/receipt	Tue Sep 07 14:16:20 2010 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pmail"
     1.7 +VERSION="0.9.16"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Mail transfer client based on the protocols of POP3 and SMTP."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
    1.13 +WGET_URL="${WEB_SITE}$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	sed -i  -e 's|BINDIR = @prefix@/bin|BINDIR = _pkg/usr/bin|' \
    1.20 +		-e 's|MANDIR = @prefix@/man/man1|MANDIR = _pkg/usr/man/man1|' \
    1.21 +		Makefile.in
    1.22 +	mkdir -p _pkg/usr/bin _pkg/usr/man/man1
    1.23 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg 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 +}
    1.35 +