wok-current rev 5
Add : bc, cpio, e2fsprogs, module-init-tools, udev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 13 15:09:20 2007 +0100 (2007-12-13) |
parents | bc07037253c6 |
children | 5a6cb7128cbe |
files | bc/receipt cpio/receipt e2fsprogs/receipt module-init-tools/receipt udev/receipt udev/stuff/90-permissions.rules udev/stuff/udev.conf |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bc/receipt Thu Dec 13 15:09:20 2007 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bc" 1.7 +VERSION="1.06" 1.8 +CATEGORY="base-apps" 1.9 +SHORT_DESC="Bc is a cmdline calculator." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnu.org/software/bc/" 1.13 +WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $PACKAGE-$VERSION 1.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.20 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.21 + make 1.22 + make DESTDIR=$PWD/_pkg 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/bin 1.29 + cp -a $_pkg/usr/bin/* $fs/usr/bin 1.30 + strip -s $fs/usr/bin/* 1.31 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/cpio/receipt Thu Dec 13 15:09:20 2007 +0100 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="cpio" 2.7 +VERSION="2.9" 2.8 +CATEGORY="base-apps" 2.9 +SHORT_DESC="GNU cpio archiver." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://www.gnu.org/software/cpio/" 2.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 2.14 + 2.15 +# Rules to configure and make the package. 2.16 +compile_rules() 2.17 +{ 2.18 + cd $src 2.19 + ./configure --prefix=/usr --bindir=/bin \ 2.20 + --libexecdir=/usr/bin --mandir=/usr/share/man \ 2.21 + --infodir=/usr/share/info $CONFIGURE_ARGS 2.22 + make 2.23 + make DESTDIR=$PWD/_pkg install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/share/locale 2.30 + cp -a $_pkg/bin $fs 2.31 + cp -a $_pkg/usr/bin $fs/usr 2.32 + # Locale fr. 2.33 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 2.34 + # Strip package. 2.35 + strip -s $fs/bin/* 2.36 + strip -s $fs/usr/bin/* 2.37 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/e2fsprogs/receipt Thu Dec 13 15:09:20 2007 +0100 3.3 @@ -0,0 +1,46 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="e2fsprogs" 3.7 +VERSION="1.39" 3.8 +CATEGORY="base-apps" 3.9 +SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.12 +WEB_SITE="http://e2fsprogs.sourceforge.net/" 3.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 3.14 + 3.15 +# Rules to configure and make the package. 3.16 +compile_rules() 3.17 +{ 3.18 + cd $src 3.19 + ./configure --prefix=/usr --with-root-prefix="" \ 3.20 + --enable-elf-shlibs --disable-evms --sysconfdir=/etc \ 3.21 + --infodir=/usr/share/info --mandir=/usr/share/man \ 3.22 + $CONFIGURE_ARGS 3.23 + make 3.24 + make DESTDIR=$PWD/_pkg install 3.25 +} 3.26 + 3.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.28 +genpkg_rules() 3.29 +{ 3.30 + mkdir -p $fs/usr/lib $fs/usr/share/locale 3.31 + cp -a $_pkg/sbin $fs 3.32 + cp -a $_pkg/lib $fs 3.33 + cp -a $_pkg/etc $fs 3.34 + cp -a $_pkg/usr/bin $fs/usr 3.35 + cp -a $_pkg/usr/sbin $fs/usr 3.36 + cp -ad $_pkg/usr/lib/*.so $fs/usr/lib 3.37 + # Remove unused libss and fsck provided by Busybox. 3.38 + rm -rf $fs/lib/libss* 3.39 + rm -rf $fs/usr/lib/libss* 3.40 + rm -rf $fs/sbin/fsck* 3.41 + # Locale fr. 3.42 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 3.43 + # Strip all stuff. 3.44 + strip -s $fs/sbin/* 3.45 + strip -s $fs/lib/* 3.46 + strip -s $fs/usr/bin/* 3.47 + strip -s $fs/usr/sbin/* 3.48 + strip -s $fs/usr/lib/* 3.49 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/module-init-tools/receipt Thu Dec 13 15:09:20 2007 +0100 4.3 @@ -0,0 +1,41 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="module-init-tools" 4.7 +VERSION="3.2" 4.8 +CATEGORY="base-apps" 4.9 +SHORT_DESC="Kernel modules manipulation tools." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +DEPENDS="zlib" 4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.13 +WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/" 4.14 +WGET_URL="${WEB_SITE}$TARBALL" 4.15 + 4.16 +# Rules to configure and make the package. 4.17 +compile_rules() 4.18 +{ 4.19 + cd $src 4.20 + ./configure --enable-zlib --prefix=/usr \ 4.21 + --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ 4.22 + --infodir=/usr/share/info --mandir=/usr/share/man \ 4.23 + $CONFIGURE_ARGS 4.24 + make 4.25 + make DESTDIR=$PWD/_pkg install 4.26 +} 4.27 + 4.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.29 +genpkg_rules() 4.30 +{ 4.31 + mkdir -p $fs/sbin $fs/etc 4.32 + cp $_pkg/sbin/depmod $fs/sbin 4.33 + cp $_pkg/sbin/insmod $fs/sbin 4.34 + cp $_pkg/sbin/modinfo $fs/sbin 4.35 + cp $_pkg/sbin/modprobe $fs/sbin 4.36 + cp $_pkg/sbin/rmmod $fs/sbin 4.37 + # lsmod goes in /bin. 4.38 + cp -a $_pkg/bin $fs 4.39 + strip -s $fs/sbin/* 4.40 + strip -s $fs/bin/* 4.41 + # Empty modprobe.conf 4.42 + echo "# /etc/modprobe.conf: Modprobe config file." > $fs/etc/modprobe.conf 4.43 + echo "#" >> $fs/etc/modprobe.conf 4.44 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/udev/receipt Thu Dec 13 15:09:20 2007 +0100 5.3 @@ -0,0 +1,48 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="udev" 5.7 +VERSION="116" 5.8 +CATEGORY="base-apps" 5.9 +SHORT_DESC="Udev creat automaticly right devices in /dev." 5.10 +MAINTAINER="pankso@slitaz.org" 5.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.12 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 5.13 +WGET_URL="http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL" 5.14 + 5.15 +# Rules to configure and make the package. 5.16 +compile_rules() 5.17 +{ 5.18 + cd $src 5.19 + make 5.20 +} 5.21 + 5.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.23 +genpkg_rules() 5.24 +{ 5.25 + mkdir -p $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/etc/udev 5.26 + 5.27 + # /sbin 5.28 + cp -a $src/udevd $fs/sbin 5.29 + cp -a $src/udevcontrol $fs/sbin 5.30 + cp -a $src/udevstart $fs/sbin 5.31 + cp -a $src/udevsettle $fs/sbin 5.32 + 5.33 + # /usr/{sbin,bin} 5.34 + cp -a $src/udevd $fs/usr/sbin 5.35 + cp -a $src/udevmonitor $fs/usr/sbin 5.36 + cp -a $src/udevinfo $fs/usr/bin 5.37 + cp -a $src/udevtest $fs/usr/bin 5.38 + 5.39 + # Config files. 5.40 + cp stuff/udev.conf $fs/etc/udev 5.41 + cp -a $src/etc/udev/rules.d $fs/etc/udev 5.42 + cp stuff/90-permissions.rules $fs/etc/udev/rules.d 5.43 + cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d 5.44 + 5.45 + 5.46 + # Strip all binaries. 5.47 + strip -s $fs/sbin/* 5.48 + strip -s $fs/usr/bin/* 5.49 + strip -s $fs/usr/sbin/* 5.50 +} 5.51 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/udev/stuff/90-permissions.rules Thu Dec 13 15:09:20 2007 +0100 6.3 @@ -0,0 +1,4 @@ 6.4 + 6.5 +# sound devices 6.6 +SUBSYSTEM=="sound", GROUP="audio" 6.7 +SUBSYSTEM=="sound", MODE="0664"
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/udev/stuff/udev.conf Thu Dec 13 15:09:20 2007 +0100 7.3 @@ -0,0 +1,29 @@ 7.4 +# /etc/udev/udev.conf - The main config file for udev 7.5 +# 7.6 +# This file can be used to override some of udev's default values 7.7 +# for where it looks for files, and where it places device nodes. 7.8 + 7.9 + 7.10 +# udev_root - where in the filesystem to place the device nodes 7.11 +udev_root="/dev/" 7.12 + 7.13 +# udev_db - The name and location of the udev database. 7.14 +udev_db="/dev/.udev.tdb" 7.15 + 7.16 +# udev_rules - The name and location of the udev rules dir 7.17 +udev_rules="/etc/udev/rules.d" 7.18 + 7.19 +# default_mode - set the default mode for all nodes that have no 7.20 +# explicit match in the permissions file 7.21 +default_mode="0660" 7.22 + 7.23 +# default_owner - set the default owner for all nodes that have no 7.24 +# explicit match in the permissions file 7.25 +default_owner="root" 7.26 + 7.27 +# default_group - set the default group for all nodes that have no 7.28 +# explicit match in the permissions file 7.29 +default_group="root" 7.30 + 7.31 +# udev_log - set to "yes" if you want logging, else "no" 7.32 +udev_log="no"