# HG changeset patch # User Eric Joseph-Alexandre # Date 1217086069 -7200 # Node ID 0e7de63eb2cb2ce2640bec7f6fdf60cd2c97a61e # Parent 443dbfefc6bf1df707cf6d85479710133b94299c Add: 915resolution, atl2, madwifi diff -r 443dbfefc6bf -r 0e7de63eb2cb 915resolution/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/915resolution/receipt Sat Jul 26 17:27:49 2008 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="915resolution" +VERSION="0.5.3" +CATEGORY="system-tools" +SHORT_DESC="Modify the video BIOS of the 800 and 900 series Intel graphics chipsets" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.geocities.com/stomljen/" +WGET_URL="http://www.geocities.com/stomljen/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make clean && make + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin + cp -a $src/dump_bios $fs/usr/bin +} + diff -r 443dbfefc6bf -r 0e7de63eb2cb atl2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atl2/receipt Sat Jul 26 17:27:49 2008 +0200 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="atl2" +VERSION="2.0.4" +CATEGORY="system-tools" +SHORT_DESC="Driver for the Atheros L2" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://atl2.sf.net/" +WGET_URL="http://people.redhat.com/csnook/atl2/atl2-2.0.4.tar.bz2" + +# Rules to configure and make the package. +compile_rules() +{ + KVER=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g` + if [ ! -d $WOK/linux/linux-$KVER ]; then + tazwok cook linux + fi + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + KVER=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g` + EXTRAVERSION=_$KVER + + mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net + + # Find all modules (gztazmod.sh code). + echo -n "Searching all modules to compress them... " + find $src -name "*.ko" -exec lzma e '{}' '{}'.gz \; + + # copy module + cp -a $src/*.gz $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + depmod -a -b /$1 +} + +post_remove() +{ + depmod -a +} diff -r 443dbfefc6bf -r 0e7de63eb2cb madwifi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/madwifi/receipt Sat Jul 26 17:27:49 2008 +0200 @@ -0,0 +1,58 @@ +# SliTaz package receipt. + +PACKAGE="madwifi" +VERSION="r3366" +CATEGORY="system-toosl" +SHORT_DESC="Driver for Atheros-based WLAN cards" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +SOURCE="madwifi-nr-r3366+ar5007" +TARBALL="$SOURCE.tar.gz" +WEB_SITE="http://madwifi.org" +WGET_URL="http://snapshots.madwifi.org/special/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + src="madwifi-ng-r3366+ar5007" + cd "$src" + make clean + make && \ + make DESTDIR=$PWD/_pkg install +} + +genpkg_rules() +{ + _pkg="madwifi-ng-r3366+ar5007/_pkg" + KVER=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g` + EXTRAVERSION=_$KVER + + mkdir -p $fs/lib/modules/${KVER}-slitaz/net \ + $fs/usr + # Find all modules (gztazmod.sh code). + echo -n "Searching all modules to compress them... " + find $_pkg -name "*.ko" -exec lzma e '{}' '{}'.gz \; > /dev/null 2>&1 + status + + # copy module + cp -a $_pkg/lib/modules/${KVER}-slitaz/net/*.gz $fs/lib/modules/${KVER}-slitaz/net + cp -a $_pkg/usr/local/bin $fs/usr +} + + +post_install() +{ + echo "Processing post-install commands..." + depmod -a -b /$1 +} + +post_remove() +{ + echo "Processing post-remove commands..." + depmod -a +} + +clean_wok() +{ + rm -rf "madwifi-ng-r3366+ar5007" +}