wok-current diff tslib/receipt @ rev 11447
Add: libhtp, libhtp-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 09:27:00 2011 +0100 (2011-12-17) |
parents | |
children | 600aaedb561d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tslib/receipt Sat Dec 17 09:27:00 2011 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tslib" 1.7 +VERSION="1.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Abstraction layer for touchscreen panel events." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://tslib.berlios.de/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./autogen.sh 1.20 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.21 + --sysconfdir=/etc \ 1.22 + --mandir=/usr/share/man \ 1.23 + $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$DESTDIR 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/lib/ts 1.32 + cp -a $_pkg/usr/lib/ts/*.so* $fs/usr/lib/ts 1.33 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/etc $fs 1.36 +}