wok diff tslib/receipt @ rev 14306

Up: emotion (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:18:35 2013 +0200 (2013-04-07)
parents
children 600aaedb561d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tslib/receipt	Sun Apr 07 10:18:35 2013 +0200
     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 +}