wok rev 11227

Add from wok-undigest: qtwitter radiotray rdpdesk rsbep siproxd songwrite soprano soprano-dev t2 thttpd tp_smapi ucarp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 12:23:07 2011 +0100 (2011-11-04)
parents ab72a4d08ed3
children 7aef52db895d
files qtwitter/receipt radiotray/receipt rdpdesk/receipt rsbep/receipt siproxd/receipt songwrite/receipt soprano-dev/receipt soprano/receipt t2/receipt thttpd/receipt thttpd/stuff/etc/init.d/thttpd thttpd/stuff/etc/thttpd/thttpd.conf thttpd/stuff/htpassword.c.u tp_smapi/description.txt tp_smapi/receipt ucarp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qtwitter/receipt	Fri Nov 04 12:23:07 2011 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qtwitter"
     1.7 +VERSION="0.10.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A Qt-based, cross-network microblogging client."
    1.10 +MAINTAINER="ben@seawolfsanctuary.com"
    1.11 +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
    1.12 +libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
    1.13 +libQtOpenGL libQtSql libQtWebkit qoauth"
    1.14 +BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev Qt4-dev qoauth qca-dev"
    1.15 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.16 +WEB_SITE="http://www.ayoy.net/$PACKAGE"
    1.17 +WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	echo -n "Linking..."
    1.23 +		ln -s $WOK/$PACKAGE-$VERSION-src $src
    1.24 +	status
    1.25 +
    1.26 +	cd $src
    1.27 +	
    1.28 +	qmake PREFIX="/usr" && \
    1.29 +	make -j4 && make DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.36 +
    1.37 +	# Binaries
    1.38 +	cp -a $src/build/qtwitter $fs/usr/bin
    1.39 +	# Libraries
    1.40 +	cp -a $src/build/lib* $fs/usr/bin
    1.41 +
    1.42 +	# Copy .desktop file:
    1.43 +#	cp -a $WOK/$PACKAGE/stuff/* $fs/usr
    1.44 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/radiotray/receipt	Fri Nov 04 12:23:07 2011 +0100
     2.3 @@ -0,0 +1,28 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="radiotray"
     2.7 +VERSION="0.6.1"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="Online radio streaming player that runs on system tray."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="python python-lxml"
    2.12 +BUILD_DEPENDS="python python-dev python-xdg"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://radiotray.sourceforge.net/"
    2.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	python setup.py install --prefix=/usr --root=$PWD/_pkg 
    2.22 +}
    2.23 +
    2.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.25 +genpkg_rules()
    2.26 +{
    2.27 +	mkdir -p $fs/usr/share
    2.28 +	cp -a $_pkg/usr/bin $fs/usr
    2.29 +	cp -a $_pkg/usr/lib $fs/usr
    2.30 +	cp -a $_pkg/usr/share/radiotray $fs/usr/share
    2.31 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/rdpdesk/receipt	Fri Nov 04 12:23:07 2011 +0100
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="rdpdesk"
     3.7 +VERSION="3.2"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="RDP, VNC & ICA client."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://rdpdesk.com/"
    3.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.14 +
    3.15 +DEPENDS="wxWidgets xorg-libXp xorg-libXaw libssl"
    3.16 +BUILD_DEPENDS="wxWidgets-dev xorg-imake jpeg-dev zlib-dev \
    3.17 +openssl-dev xorg-libXp"
    3.18 +SUGGESTED="wfica rdesktop"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	cd $src
    3.24 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    3.25 +	make &&
    3.26 +	make DESTDIR=$DESTDIR install
    3.27 +}
    3.28 +
    3.29 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    3.30 +genpkg_rules()                                      
    3.31 +{
    3.32 +	cp -a $_pkg/usr $fs
    3.33 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/rsbep/receipt	Fri Nov 04 12:23:07 2011 +0100
     4.3 @@ -0,0 +1,30 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="rsbep"
     4.7 +VERSION="0.1.0-ttsiodras"
     4.8 +CATEGORY="misc"
     4.9 +SHORT_DESC="Shielding your files with Reed-Solomon codes."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.12 +WEB_SITE="http://users.softlab.ntua.gr/~ttsiod/rsbep.html"
    4.13 +WGET_URL="http://users.softlab.ntua.gr/~ttsiod/$TARBALL"
    4.14 +
    4.15 +SUGGESTED="python"
    4.16 +
    4.17 +# Rules to configure and make the package.
    4.18 +compile_rules()
    4.19 +{
    4.20 +	cd $src
    4.21 +	./configure --prefix=/usr --mandir=/usr/share/man \
    4.22 +		--localstatedir=/var \
    4.23 +	$CONFIGURE_ARGS &&
    4.24 +	make &&
    4.25 +	make DESTDIR=$DESTDIR 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/usr
    4.32 +	cp -a $_pkg/usr/bin $fs/usr
    4.33 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/siproxd/receipt	Fri Nov 04 12:23:07 2011 +0100
     5.3 @@ -0,0 +1,36 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="siproxd"
     5.7 +VERSION="0.8.1"
     5.8 +CATEGORY="network"
     5.9 +SHORT_DESC="A masquerading SIP Proxy Server."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.12 +WEB_SITE="http://siproxd.sourceforge.net/"
    5.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.14 +CONFIG_FILES="/etc/siproxd"
    5.15 +
    5.16 +DEPENDS="osip"
    5.17 +BUILD_DEPENDS="osip-dev"
    5.18 +
    5.19 +# Rules to configure and make the package.
    5.20 +compile_rules()
    5.21 +{
    5.22 +	cd $src
    5.23 +	sed -i 's/.*const ident.*/#undef lt_preloaded_symbols\n#define lt_preloaded_symbols lt_libltdl_LTX_preloaded_symbols\nextern const lt_dlsymlist lt_preloaded_symbols[];\n&/' src/plugins.c
    5.24 +	./configure --prefix=/usr --mandir=/usr/share/man \
    5.25 +		--sysconfdir=/etc/siproxd \
    5.26 +		--localstatedir=/var \
    5.27 +	$CONFIGURE_ARGS &&
    5.28 +	make &&
    5.29 +	make DESTDIR=$PWD/_pkg install
    5.30 +}
    5.31 +
    5.32 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    5.33 +genpkg_rules()                                      
    5.34 +{
    5.35 +	mkdir -p $fs/usr
    5.36 +	cp -a $_pkg/etc $fs
    5.37 +	cp -a $_pkg/usr/sbin $fs/usr
    5.38 +	cp -a $_pkg/usr/lib $fs/usr
    5.39 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/songwrite/receipt	Fri Nov 04 12:23:07 2011 +0100
     6.3 @@ -0,0 +1,28 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="songwrite"
     6.7 +SOURCE="Songwrite2"
     6.8 +VERSION="0.4"
     6.9 +CATEGORY="multimedia"
    6.10 +SHORT_DESC="music score and songbook editor."
    6.11 +MAINTAINER="pascal.bellard@slitaz.org"
    6.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    6.13 +WEB_SITE="http://home.gna.org/oomadness/en/songwrite/"
    6.14 +WGET_URL="http://download.gna.org/songwrite/$TARBALL"
    6.15 +
    6.16 +DEPENDS="python editobj gtk+ pycairo"
    6.17 +BUILD_DEPENDS="python"
    6.18 +SUGGESTED="timidity evince"
    6.19 +
    6.20 +# Rules to configure and make the package.
    6.21 +compile_rules()
    6.22 +{
    6.23 +	cd $src
    6.24 +	python ./setup.py install --root=$DESTDIR
    6.25 +}
    6.26 +
    6.27 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    6.28 +genpkg_rules()                                      
    6.29 +{
    6.30 +	cp -a $_pkg/usr $fs
    6.31 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/soprano-dev/receipt	Fri Nov 04 12:23:07 2011 +0100
     7.3 @@ -0,0 +1,17 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="soprano-dev"
     7.7 +VERSION="2.6.0"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="Soprano pkgconfig and include files."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +WANTED="soprano"
    7.12 +WEB_SITE="http://soprano.sourceforge.net/"
    7.13 +
    7.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.15 +genpkg_rules()
    7.16 +{
    7.17 +	mkdir -p $fs/usr/lib
    7.18 +	cp -a $_pkg/usr/include $fs/usr
    7.19 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    7.20 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/soprano/receipt	Fri Nov 04 12:23:07 2011 +0100
     8.3 @@ -0,0 +1,32 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="soprano"
     8.7 +VERSION="2.6.0"
     8.8 +CATEGORY="system-tools"
     8.9 +SHORT_DESC="Soprano is the Qt/C++ RDF framework"
    8.10 +MAINTAINER="pankso@slitaz.org"
    8.11 +DEPENDS="libQtCore libQtNetwork"
    8.12 +BUILD_DEPENDS="cmake qmake Qt4-dev"
    8.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.14 +WEB_SITE="http://soprano.sourceforge.net/"
    8.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    8.16 +
    8.17 +# Rules to configure and make the package.
    8.18 +compile_rules()
    8.19 +{
    8.20 +	mkdir -p build && cd build
    8.21 +	cmake \
    8.22 +		-DCMAKE_INSTALL_PREFIX=/usr \
    8.23 +		.. &&
    8.24 +	make && make install
    8.25 +}
    8.26 +
    8.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.28 +genpkg_rules()
    8.29 +{
    8.30 +	mkdir -p $fs/usr/lib
    8.31 +	cp -a $install/usr/bin $fs/usr
    8.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    8.33 +	cp -a $install/usr/lib/soprano $fs/usr/lib
    8.34 +	cp -a $install/usr/share $fs/usr
    8.35 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/t2/receipt	Fri Nov 04 12:23:07 2011 +0100
     9.3 @@ -0,0 +1,38 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="t2"
     9.7 +VERSION="8.0-rc2"
     9.8 +CATEGORY="development"
     9.9 +SHORT_DESC="System Development Environment."
    9.10 +MAINTAINER="pascal.bellard@slitaz.org"
    9.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    9.12 +WEB_SITE="http://www.t2-project.org/"
    9.13 +WGET_URL="http://dl.t2-project.org/source/$TARBALL"
    9.14 +DEPENDS="slitaz-toolchain bash ncurses"
    9.15 +
    9.16 +# Rules to configure and make the package.
    9.17 +compile_rules()
    9.18 +{
    9.19 +	true
    9.20 +}
    9.21 +
    9.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.23 +genpkg_rules()
    9.24 +{
    9.25 +	mkdir -p $fs/usr/lib
    9.26 +	cp -a $src $fs/usr/lib/t2
    9.27 +}
    9.28 +
    9.29 +# Pre and post install commands for Tazpkg.
    9.30 +post_install()
    9.31 +{
    9.32 +	[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    9.33 +	cat <<EOT
    9.34 +Now you can do:
    9.35 +# cd /usr/lib/t2
    9.36 +# scripts/Config
    9.37 +
    9.38 +But read http://www.t2-project.org/handbook/html/t2-book.html before...
    9.39 +
    9.40 +EOT
    9.41 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/thttpd/receipt	Fri Nov 04 12:23:07 2011 +0100
    10.3 @@ -0,0 +1,37 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="thttpd"
    10.7 +VERSION="2.25b"
    10.8 +CATEGORY="network"
    10.9 +SHORT_DESC="Throttleable lightweight httpd server"
   10.10 +MAINTAINER="erjo@slitaz.org"
   10.11 +DEPENDS=""
   10.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.13 +WEB_SITE="http://www.acme.com/software/thttpd/"
   10.14 +WGET_URL="http://www.acme.com/software/thttpd/$TARBALL"
   10.15 +
   10.16 +# Rules to configure and make the package.
   10.17 +compile_rules()
   10.18 +{
   10.19 +	cd $src
   10.20 +	patch -p1 -i $stuff/htpassword.c.u || exit 1
   10.21 +	./configure \
   10.22 +		--prefix=/usr \
   10.23 +		--infodir=/usr/share/info \
   10.24 +		--mandir=/usr/share/man \
   10.25 +		$CONFIGURE_ARGS &&
   10.26 +	make 
   10.27 +}
   10.28 +
   10.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.30 +genpkg_rules()
   10.31 +{
   10.32 +	mkdir -p $fs/usr/sbin \
   10.33 +		$fs/var/log/thttpd \
   10.34 +		
   10.35 +	cp -a $src/thttpd $fs/usr/sbin
   10.36 +	cp -a $src/extras/htpasswd $fs/usr/sbin
   10.37 +	cp -a $src/extras/syslogtocern $fs/usr/sbin
   10.38 +	cp -a stuff/etc $fs/
   10.39 +}
   10.40 +
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/thttpd/stuff/etc/init.d/thttpd	Fri Nov 04 12:23:07 2011 +0100
    11.3 @@ -0,0 +1,56 @@
    11.4 +#!/bin/sh
    11.5 +# /etc/init.d/thttpd : Start, stop and restart SSH server on SliTaz, at 
    11.6 +# boot time or with the command line.
    11.7 +#
    11.8 +# To start SSH server at boot time, just put thttpd in the $RUN_DAEMONS
    11.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf
   11.10 +#
   11.11 +. /etc/init.d/rc.functions
   11.12 +. /etc/daemons.conf
   11.13 +
   11.14 +NAME=thttpd
   11.15 +DESC="Thttpd server"
   11.16 +DAEMON=/usr/sbin/thttpd
   11.17 +CONFIG_FILE=/etc/thttpd/thttpd.conf
   11.18 +OPTIONS="-C $CONFIG_FILE -D"
   11.19 +PIDFILE=/var/run/thttpd.pid
   11.20 +
   11.21 +case "$1" in
   11.22 +  start)
   11.23 +     if active_pidfile $PIDFILE thttpd ; then
   11.24 +      echo "$NAME already running."
   11.25 +      exit 1
   11.26 +    fi
   11.27 +    echo -n "Starting $DESC: $NAME... "
   11.28 +    $DAEMON $OPTIONS
   11.29 +    status
   11.30 +    ;;
   11.31 +  stop)
   11.32 +    if ! active_pidfile $PIDFILE thttpd ; then
   11.33 +      echo "$NAME is not running."
   11.34 +      exit 1
   11.35 +    fi
   11.36 +    echo -n "Stopping $DESC: $NAME... "
   11.37 +    kill `cat $PIDFILE`
   11.38 +    status
   11.39 +    ;;
   11.40 +  restart)
   11.41 +    if ! active_pidfile $PIDFILE thttpd ; then
   11.42 +      echo "$NAME is not running."
   11.43 +      exit 1
   11.44 +    fi
   11.45 +    echo -n "Restarting $DESC: $NAME... "
   11.46 +    kill `cat $PIDFILE`
   11.47 +    sleep 2
   11.48 +    $DAEMON $OPTIONS
   11.49 +    status
   11.50 +    ;;
   11.51 +  *)
   11.52 +    echo ""
   11.53 +    echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]"
   11.54 +    echo ""
   11.55 +    exit 1
   11.56 +    ;;
   11.57 +esac
   11.58 +
   11.59 +exit 0
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/thttpd/stuff/etc/thttpd/thttpd.conf	Fri Nov 04 12:23:07 2011 +0100
    12.3 @@ -0,0 +1,7 @@
    12.4 +# This section overrides defaults
    12.5 +port=10000
    12.6 +dir=/var/www
    12.7 +chroot
    12.8 +user=www
    12.9 +logfile=/var/log/thttpd.log
   12.10 +pidfile=/var/run/thttpd.pid
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/thttpd/stuff/htpassword.c.u	Fri Nov 04 12:23:07 2011 +0100
    13.3 @@ -0,0 +1,20 @@
    13.4 +--- thttpd-2.25b-ori/extras/htpasswd.c	Wed Dec 19 01:08:08 2001
    13.5 ++++ thttpd-2.25b/extras/htpasswd.c	Sun Feb 28 23:02:36 2010
    13.6 +@@ -49,7 +49,7 @@
    13.7 +     while((line[y++] = line[x++]));
    13.8 + }
    13.9 + 
   13.10 +-static int getline(char *s, int n, FILE *f) {
   13.11 ++static int xgetline(char *s, int n, FILE *f) {
   13.12 +     register int i=0;
   13.13 + 
   13.14 +     while(1) {
   13.15 +@@ -189,7 +189,7 @@
   13.16 +     strcpy(user,argv[2]);
   13.17 + 
   13.18 +     found = 0;
   13.19 +-    while(!(getline(line,MAX_STRING_LEN,f))) {
   13.20 ++    while(!(xgetline(line,MAX_STRING_LEN,f))) {
   13.21 +         if(found || (line[0] == '#') || (!line[0])) {
   13.22 +             putline(tfp,line);
   13.23 +             continue;
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/tp_smapi/description.txt	Fri Nov 04 12:23:07 2011 +0100
    14.3 @@ -0,0 +1,13 @@
    14.4 +ThinkPad laptops include a proprietary interface called SMAPI BIOS 
    14.5 +(System Management Application Program Interface) which provides some
    14.6 +hardware control functionality that is not accessible by other means.
    14.7 +
    14.8 +tp_smapi is highly recommended if you're using a ThinkPad laptop.
    14.9 +
   14.10 +Not all functions are available on all models; for detailed status, see:
   14.11 +http://thinkwiki.org/wiki/tp_smapi
   14.12 +
   14.13 +WARNING: 
   14.14 +This driver uses undocumented features and direct hardware access.
   14.15 +It thus cannot be guaranteed to work, and may cause arbitrary damage
   14.16 +(especially on models it wasn't tested on).
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/tp_smapi/receipt	Fri Nov 04 12:23:07 2011 +0100
    15.3 @@ -0,0 +1,32 @@
    15.4 +# SliTaz package receipt.
    15.5 +
    15.6 +PACKAGE="tp_smapi"
    15.7 +VERSION="0.41"
    15.8 +CATEGORY="base-system"
    15.9 +SHORT_DESC="IBM ThinkPad SMAPI BIOS driver"
   15.10 +MAINTAINER="domcox@slitaz.org"
   15.11 +BUILD_DEPENDS="linux-module-headers linux-source wget"
   15.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   15.13 +WEB_SITE="https://github.com/evgeni/tp_smapi"
   15.14 +WGET_URL="https://github.com/downloads/evgeni/$PACKAGE/$TARBALL"
   15.15 +
   15.16 +# Rules to configure and make the package.
   15.17 +compile_rules()
   15.18 +{
   15.19 +	cd $src
   15.20 +	sed -i "s/uname -r/echo $kvers-slitaz/" Makefile
   15.21 +	make modules HDAPS=1
   15.22 +}
   15.23 +
   15.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
   15.25 +genpkg_rules()
   15.26 +{
   15.27 +	MOD_DIR=lib/modules/$kvers-slitaz/extra
   15.28 +	mkdir -p $fs/$MOD_DIR
   15.29 +	cp -a $src/*.ko $fs/$MOD_DIR
   15.30 +}
   15.31 +
   15.32 +post_install()
   15.33 +{
   15.34 +	chroot "$1/" depmod -a
   15.35 +}
   15.36 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/ucarp/receipt	Fri Nov 04 12:23:07 2011 +0100
    16.3 @@ -0,0 +1,33 @@
    16.4 +# SliTaz package receipt.
    16.5 +
    16.6 +PACKAGE="ucarp"
    16.7 +VERSION="1.5.1"
    16.8 +CATEGORY="network"
    16.9 +SHORT_DESC="Portable implementation of the CARP protocol."
   16.10 +MAINTAINER="pascal.bellard@slitaz.org"
   16.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   16.12 +WEB_SITE="http://www.ucarp.org/project/ucarp"
   16.13 +WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL"
   16.14 +TAGS="High availability HA"
   16.15 +
   16.16 +BUILD_DEPENDS="libpcap-dev"
   16.17 +DEPENDS="libpcap"
   16.18 +
   16.19 +# Rules to configure and make the package.
   16.20 +compile_rules()
   16.21 +{
   16.22 +	cd $src
   16.23 +	sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in*
   16.24 +	./configure --prefix=/usr --mandir=/usr/share/man \
   16.25 +		--localstatedir=/var \
   16.26 +	$CONFIGURE_ARGS &&
   16.27 +	make &&
   16.28 +	make DESTDIR=$PWD/_pkg install
   16.29 +}
   16.30 +
   16.31 +# Rules to gen a SliTaz package suitable for Tazpkg.   
   16.32 +genpkg_rules()                                      
   16.33 +{
   16.34 +	mkdir -p $fs/usr
   16.35 +	cp -a $_pkg/usr/sbin $fs/usr
   16.36 +}