# HG changeset patch # User Pascal Bellard # Date 1379708013 0 # Node ID 742054c507b664a24375151da62edb780d1e2829 # Parent 2e4835eddcce5f42bf2abe4e5457dc6007a3d8f1 Add mtd-utils diff -r 2e4835eddcce -r 742054c507b6 mtd-utils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mtd-utils/receipt Fri Sep 20 20:13:33 2013 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="mtd-utils" +VERSION="1.5.0" +CATEGORY="base-system" +SHORT_DESC="Memory Technology Device Tools (including jff2)." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.linux-mtd.infradead.org/" +WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL" + +DEPENDS="lzo zlib util-linux-uuid" +BUILD_DEPENDS="acl-dev lzo-dev zlib-dev util-linux-uuid-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr +} diff -r 2e4835eddcce -r 742054c507b6 poptop/receipt --- a/poptop/receipt Thu Sep 19 09:41:58 2013 +0000 +++ b/poptop/receipt Fri Sep 20 20:13:33 2013 +0000 @@ -5,28 +5,32 @@ CATEGORY="network" SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server." MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" SOURCE="pptpd" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.poptop.org/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="vpn tunnel" +CONFIG_FILES="/etc/pptp.conf /etc/ppp" + +DEPENDS="ppp" # Rules to configure and make the package. compile_rules() { cd $src - sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile + sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile ./configure --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/sbin $fs/usr + cp -a $install/usr/sbin $fs/usr }