# HG changeset patch # User Christophe Lincoln # Date 1197554960 -3600 # Node ID 23d38a7a06cc57e49148de2006470c93d7c4e6f4 # Parent bc07037253c67346da8f6d76446ef042193bf163 Add : bc, cpio, e2fsprogs, module-init-tools, udev diff -r bc07037253c6 -r 23d38a7a06cc bc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bc/receipt Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="bc" +VERSION="1.06" +CATEGORY="base-apps" +SHORT_DESC="Bc is a cmdline calculator." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/bc/" +WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $PACKAGE-$VERSION + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $_pkg/usr/bin/* $fs/usr/bin + strip -s $fs/usr/bin/* +} diff -r bc07037253c6 -r 23d38a7a06cc cpio/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpio/receipt Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="cpio" +VERSION="2.9" +CATEGORY="base-apps" +SHORT_DESC="GNU cpio archiver." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/cpio/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --bindir=/bin \ + --libexecdir=/usr/bin --mandir=/usr/share/man \ + --infodir=/usr/share/info $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/locale + cp -a $_pkg/bin $fs + cp -a $_pkg/usr/bin $fs/usr + # Locale fr. + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + # Strip package. + strip -s $fs/bin/* + strip -s $fs/usr/bin/* +} diff -r bc07037253c6 -r 23d38a7a06cc e2fsprogs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/e2fsprogs/receipt Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="e2fsprogs" +VERSION="1.39" +CATEGORY="base-apps" +SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://e2fsprogs.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --with-root-prefix="" \ + --enable-elf-shlibs --disable-evms --sysconfdir=/etc \ + --infodir=/usr/share/info --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share/locale + cp -a $_pkg/sbin $fs + cp -a $_pkg/lib $fs + cp -a $_pkg/etc $fs + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + cp -ad $_pkg/usr/lib/*.so $fs/usr/lib + # Remove unused libss and fsck provided by Busybox. + rm -rf $fs/lib/libss* + rm -rf $fs/usr/lib/libss* + rm -rf $fs/sbin/fsck* + # Locale fr. + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + # Strip all stuff. + strip -s $fs/sbin/* + strip -s $fs/lib/* + strip -s $fs/usr/bin/* + strip -s $fs/usr/sbin/* + strip -s $fs/usr/lib/* +} diff -r bc07037253c6 -r 23d38a7a06cc module-init-tools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/module-init-tools/receipt Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="module-init-tools" +VERSION="3.2" +CATEGORY="base-apps" +SHORT_DESC="Kernel modules manipulation tools." +MAINTAINER="pankso@slitaz.org" +DEPENDS="zlib" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/" +WGET_URL="${WEB_SITE}$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --enable-zlib --prefix=/usr \ + --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ + --infodir=/usr/share/info --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/sbin $fs/etc + cp $_pkg/sbin/depmod $fs/sbin + cp $_pkg/sbin/insmod $fs/sbin + cp $_pkg/sbin/modinfo $fs/sbin + cp $_pkg/sbin/modprobe $fs/sbin + cp $_pkg/sbin/rmmod $fs/sbin + # lsmod goes in /bin. + cp -a $_pkg/bin $fs + strip -s $fs/sbin/* + strip -s $fs/bin/* + # Empty modprobe.conf + echo "# /etc/modprobe.conf: Modprobe config file." > $fs/etc/modprobe.conf + echo "#" >> $fs/etc/modprobe.conf +} diff -r bc07037253c6 -r 23d38a7a06cc udev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/udev/receipt Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,48 @@ +# SliTaz package receipt. + +PACKAGE="udev" +VERSION="116" +CATEGORY="base-apps" +SHORT_DESC="Udev creat automaticly right devices in /dev." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" +WGET_URL="http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/etc/udev + + # /sbin + cp -a $src/udevd $fs/sbin + cp -a $src/udevcontrol $fs/sbin + cp -a $src/udevstart $fs/sbin + cp -a $src/udevsettle $fs/sbin + + # /usr/{sbin,bin} + cp -a $src/udevd $fs/usr/sbin + cp -a $src/udevmonitor $fs/usr/sbin + cp -a $src/udevinfo $fs/usr/bin + cp -a $src/udevtest $fs/usr/bin + + # Config files. + cp stuff/udev.conf $fs/etc/udev + cp -a $src/etc/udev/rules.d $fs/etc/udev + cp stuff/90-permissions.rules $fs/etc/udev/rules.d + cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d + + + # Strip all binaries. + strip -s $fs/sbin/* + strip -s $fs/usr/bin/* + strip -s $fs/usr/sbin/* +} + diff -r bc07037253c6 -r 23d38a7a06cc udev/stuff/90-permissions.rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/udev/stuff/90-permissions.rules Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,4 @@ + +# sound devices +SUBSYSTEM=="sound", GROUP="audio" +SUBSYSTEM=="sound", MODE="0664" diff -r bc07037253c6 -r 23d38a7a06cc udev/stuff/udev.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/udev/stuff/udev.conf Thu Dec 13 15:09:20 2007 +0100 @@ -0,0 +1,29 @@ +# /etc/udev/udev.conf - The main config file for udev +# +# This file can be used to override some of udev's default values +# for where it looks for files, and where it places device nodes. + + +# udev_root - where in the filesystem to place the device nodes +udev_root="/dev/" + +# udev_db - The name and location of the udev database. +udev_db="/dev/.udev.tdb" + +# udev_rules - The name and location of the udev rules dir +udev_rules="/etc/udev/rules.d" + +# default_mode - set the default mode for all nodes that have no +# explicit match in the permissions file +default_mode="0660" + +# default_owner - set the default owner for all nodes that have no +# explicit match in the permissions file +default_owner="root" + +# default_group - set the default group for all nodes that have no +# explicit match in the permissions file +default_group="root" + +# udev_log - set to "yes" if you want logging, else "no" +udev_log="no"