wok-next annotate tslib/receipt @ rev 11215
Add from wok-undigest: tslib tslib-dev util-linux-ng-flock swfdec swfdec-dev perl-net-pcap net-tools mspdebug
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 17:36:16 2011 +0100 (2011-11-03) |
parents | |
children | 600aaedb561d |
rev | line source |
---|---|
pascal@11215 | 1 # SliTaz package receipt. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="tslib" |
pascal@11215 | 4 VERSION="1.0" |
pascal@11215 | 5 CATEGORY="development" |
pascal@11215 | 6 SHORT_DESC="Abstraction layer for touchscreen panel events." |
pascal@11215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11215 | 8 WEB_SITE="http://tslib.berlios.de/" |
pascal@11215 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11215 | 10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
pascal@11215 | 11 |
pascal@11215 | 12 # Rules to configure and make the package. |
pascal@11215 | 13 compile_rules() |
pascal@11215 | 14 { |
pascal@11215 | 15 cd $src |
pascal@11215 | 16 ./autogen.sh |
pascal@11215 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11215 | 18 --sysconfdir=/etc \ |
pascal@11215 | 19 --mandir=/usr/share/man \ |
pascal@11215 | 20 $CONFIGURE_ARGS && |
pascal@11215 | 21 make && |
pascal@11215 | 22 make DESTDIR=$DESTDIR install |
pascal@11215 | 23 } |
pascal@11215 | 24 |
pascal@11215 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 26 genpkg_rules() |
pascal@11215 | 27 { |
pascal@11215 | 28 mkdir -p $fs/usr/lib/ts |
pascal@11215 | 29 cp -a $_pkg/usr/lib/ts/*.so* $fs/usr/lib/ts |
pascal@11215 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11215 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@11215 | 32 cp -a $_pkg/etc $fs |
pascal@11215 | 33 } |