wok-4.x rev 26

Add : links, patch, pciutils, pcmciautils
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:53:54 2007 +0100 (2007-12-18)
parents 0a7773e78e1d
children 99715173ee02
files links/receipt patch/receipt pciutils/receipt pcmciautils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/links/receipt	Tue Dec 18 13:53:54 2007 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="links"
     1.7 +VERSION="2.1pre31"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Light and speed web browser using Ncurses or Xlib."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://links.twibright.com/"
    1.14 +WGET_URL="http://links.twibright.com/download/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --prefix=/usr \
    1.21 +		--sysconfdir=/etc --mandir=/usr/share/man \
    1.22 +		--without-directfb --without-ssl \
    1.23 +		--enable-graphics $CONFIGURE_ARGS
    1.24 +	make
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/share/pixmaps
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	strip -s $fs/usr/bin/*
    1.34 +	cp $src/graphics/links.xpm $fs/usr/share/pixmaps
    1.35 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/patch/receipt	Tue Dec 18 13:53:54 2007 +0100
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="patch"
     2.7 +VERSION="2.5.4"
     2.8 +CATEGORY="base-apps"
     2.9 +SHORT_DESC="Utilitie to patch file with diff file."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS=""
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.gnu.org/software/patch/"
    2.14 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.22 +	make
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/bin
    2.29 +	cp -a $src/patch $fs/usr/bin
    2.30 +	strip -s $fs/usr/bin/*
    2.31 +}
    2.32 +
    2.33 +# Prevent erasing busybox...
    2.34 +pre_install()
    2.35 +{
    2.36 +	local root
    2.37 +	root=$1
    2.38 +	rm -f $root/usr/bin/patch
    2.39 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pciutils/receipt	Tue Dec 18 13:53:54 2007 +0100
     3.3 @@ -0,0 +1,28 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="pciutils"
     3.7 +VERSION="2.2.9"
     3.8 +CATEGORY="extra"
     3.9 +SHORT_DESC="Utilities to list PCI device by name (lspci)."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://mj.ucw.cz/pciutils.shtml"
    3.13 +WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
    3.14 +
    3.15 +# Rules to configure and make the package.
    3.16 +compile_rules()
    3.17 +{
    3.18 +	cd $src
    3.19 +	./update-pciids.sh
    3.20 +	make PREFIX=/usr IDSDIR=/usr/share/misc
    3.21 +}
    3.22 +
    3.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.24 +genpkg_rules()
    3.25 +{
    3.26 +	mkdir -p $fs/usr/bin $fs/usr/share/misc
    3.27 +	cp -a $src/pci.ids $fs/usr/share/misc
    3.28 +	cp -a $src/lspci $fs/usr/bin
    3.29 +	strip -s $fs/usr/bin/*
    3.30 +}
    3.31 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pcmciautils/receipt	Tue Dec 18 13:53:54 2007 +0100
     4.3 @@ -0,0 +1,32 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="pcmciautils"
     4.7 +VERSION="014"
     4.8 +CATEGORY="extra"
     4.9 +SHORT_DESC="Utils to use with PCMCIA cards"
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +DEPENDS="linux sysfs udev"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.13 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
    4.14 +WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
    4.15 +
    4.16 +# Rules to configure and make the package.
    4.17 +compile_rules()
    4.18 +{
    4.19 +	# We need lex...
    4.20 +	cd $src
    4.21 +	make
    4.22 +}
    4.23 +
    4.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.25 +genpkg_rules()
    4.26 +{
    4.27 +	mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia
    4.28 +	cp -a $src/pccardctl $fs/sbin
    4.29 +	cp -a $src/pcmcia-check-broken-cis $fs/sbin
    4.30 +	cp -a $src/pcmcia-socket-startup $fs/sbin
    4.31 +	strip -s $fs/sbin/*
    4.32 +	# Udev rules and config.
    4.33 +	cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d
    4.34 +	cp -a $src/config/config.opts $fs/etc/pcmcia
    4.35 +}