wok-next rev 15219

Add mtd-utils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 20:13:33 2013 +0000 (2013-09-20)
parents 2e4835eddcce
children fb0aa6c6be68
files mtd-utils/receipt poptop/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mtd-utils/receipt	Fri Sep 20 20:13:33 2013 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mtd-utils"
     1.7 +VERSION="1.5.0"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Memory Technology Device Tools (including jff2)."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.linux-mtd.infradead.org/"
    1.14 +WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL"
    1.15 +
    1.16 +DEPENDS="lzo zlib util-linux-uuid"
    1.17 +BUILD_DEPENDS="acl-dev lzo-dev zlib-dev util-linux-uuid-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	make && make DESTDIR=$DESTDIR install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $install/usr/sbin $fs/usr
    1.30 +}
     2.1 --- a/poptop/receipt	Thu Sep 19 09:41:58 2013 +0000
     2.2 +++ b/poptop/receipt	Fri Sep 20 20:13:33 2013 +0000
     2.3 @@ -5,28 +5,32 @@
     2.4  CATEGORY="network"
     2.5  SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server."
     2.6  MAINTAINER="pascal.bellard@slitaz.org"
     2.7 +LICENSE="GPL2"
     2.8  SOURCE="pptpd"
     2.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.10  WEB_SITE="http://www.poptop.org/"
    2.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.12  TAGS="vpn tunnel"
    2.13 +CONFIG_FILES="/etc/pptp.conf /etc/ppp"
    2.14 +
    2.15 +DEPENDS="ppp"
    2.16  
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20  	cd $src
    2.21 -	sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile
    2.22 +	sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
    2.23  	./configure --prefix=/usr \
    2.24  	--mandir=/usr/share/man \
    2.25  	$CONFIGURE_ARGS &&
    2.26  	make &&
    2.27 -	make DESTDIR=$PWD/_pkg install
    2.28 +	make DESTDIR=$DESTDIR install
    2.29  }
    2.30  
    2.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.32  genpkg_rules()
    2.33  {
    2.34  	mkdir -p $fs/usr
    2.35 -	cp -a $_pkg/usr/sbin $fs/usr
    2.36 +	cp -a $install/usr/sbin $fs/usr
    2.37  }
    2.38