wok-next annotate tslib/receipt @ rev 15591
tslib: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 20:00:14 2013 +0000 (2013-12-02) |
parents | 600aaedb561d |
children | 6a71982fc18f |
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@15590 | 8 LICENSE="LGPL2" |
pascal@11215 | 9 WEB_SITE="http://tslib.berlios.de/" |
pascal@11215 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11215 | 11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
pascal@11215 | 12 |
pascal@15591 | 13 BUILD_DEPENDS="autoconf" |
pascal@15591 | 14 |
pascal@11215 | 15 # Rules to configure and make the package. |
pascal@11215 | 16 compile_rules() |
pascal@11215 | 17 { |
pascal@11215 | 18 cd $src |
pascal@11215 | 19 ./autogen.sh |
pascal@11215 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11215 | 21 --sysconfdir=/etc \ |
pascal@11215 | 22 --mandir=/usr/share/man \ |
pascal@11215 | 23 $CONFIGURE_ARGS && |
pascal@11215 | 24 make && |
pascal@11215 | 25 make DESTDIR=$DESTDIR install |
pascal@11215 | 26 } |
pascal@11215 | 27 |
pascal@11215 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 29 genpkg_rules() |
pascal@11215 | 30 { |
pascal@11215 | 31 mkdir -p $fs/usr/lib/ts |
pascal@15590 | 32 cp -a $install/usr/lib/ts/*.so* $fs/usr/lib/ts |
pascal@15590 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15590 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15590 | 35 cp -a $install/etc $fs |
pascal@11215 | 36 } |