# HG changeset patch # User Pascal Bellard # Date 1373025115 -7200 # Node ID a436a235f098fb5c49763aace2749514d952fbc1 # Parent dfbec69888ad123851afa4e9942c32865a5e92c6 Add some licenses diff -r dfbec69888ad -r a436a235f098 alien/receipt --- a/alien/receipt Thu Jul 04 12:43:03 2013 +0000 +++ b/alien/receipt Fri Jul 05 13:51:55 2013 +0200 @@ -9,9 +9,9 @@ TARBALL="${PACKAGE}_$VERSION.tar.gz" WEB_SITE="http://joeyh.name/code/alien/" WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" -SUGGESTED="rpm4 dpkg dpkg-dev debhelper gcc make" +SUGGESTED="dpkg dpkg-dev debhelper gcc make" -DEPENDS="perl" +DEPENDS="perl rpm4 cpio" BUILD_DEPENDS="" # Rules to configure and make the package. diff -r dfbec69888ad -r a436a235f098 ctorrent-dnh/receipt --- a/ctorrent-dnh/receipt Thu Jul 04 12:43:03 2013 +0000 +++ b/ctorrent-dnh/receipt Fri Jul 05 13:51:55 2013 +0200 @@ -5,6 +5,7 @@ CATEGORY="network" SHORT_DESC="Command line Bittorrent client." MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" TARBALL="${PACKAGE}$VERSION.tar.gz" WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" @@ -19,14 +20,14 @@ --with-ssl=no \ $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/bin $fs/usr + cp -a $install/usr/bin $fs/usr # Torrentbox cp $stuff/torrentbox $fs/usr/bin } diff -r dfbec69888ad -r a436a235f098 fatattr/receipt --- a/fatattr/receipt Thu Jul 04 12:43:03 2013 +0000 +++ b/fatattr/receipt Fri Jul 05 13:51:55 2013 +0200 @@ -23,4 +23,5 @@ { mkdir -p $fs/usr/bin cp $src/fatattr $fs/usr/bin + cp $stuff/fatattr.sh $fs/usr/bin } diff -r dfbec69888ad -r a436a235f098 fatattr/stuff/fatattr.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fatattr/stuff/fatattr.sh Fri Jul 05 13:51:55 2013 +0200 @@ -0,0 +1,21 @@ +#!/bin/sh + +ATTRS=.fatattr + +cdfat() { + fatattr $1 > /dev/null && cd $1 +} + +case "${1/--/-}" in +-s*) find ${3:-.} -exec fatattr {} \; > ${2:-$ATTRS} ;; +-r*) while read line; do + fatattr $(echo ${line:0:9} | sed 's/[^ ]/+\0 /g') "$3${line:9}" + done < ${2:-$ATTRS} ;; +-c*) cdfat ${2:-.} && $0 -s && find . | cpio -o -H newc ;; +-[xe]*) cdfat ${2:-.} && cpio -idmu && $0 -r && rm -f $ATTRS ;; +*) cat 1>&2 <