wok-next annotate tslib/receipt @ rev 16307
ARM: now python seems to cross compile (if libpython.so ARM are installed in sysroot)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 08 00:37:42 2014 +0200 (2014-04-08) |
parents | 6a71982fc18f |
children | e3c24dc3326c |
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@15592 | 13 BUILD_DEPENDS="libtool automake 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 ./autogen.sh |
pankso@15969 | 19 ./configure \ |
pankso@15969 | 20 --prefix=/usr \ |
pankso@15969 | 21 --infodir=/usr/share/info \ |
pascal@11215 | 22 --sysconfdir=/etc \ |
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 } |