wok-6.x annotate tslib/receipt @ rev 18207
Up blender (2.75a)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 15 16:39:49 2015 +0200 (2015-07-15) |
parents | fd812ac90452 |
children | 8dd8bab3f0ca |
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" |
pankso@16313 | 12 HOST_ARCH="i486 arm" |
pascal@11215 | 13 |
pascal@15592 | 14 BUILD_DEPENDS="libtool automake autoconf" |
pascal@15591 | 15 |
pankso@16313 | 16 # Handle cross compilation |
pankso@16313 | 17 case "$ARCH" in |
pankso@16313 | 18 arm*) export ac_cv_func_malloc_0_nonnull=yes ;; |
pankso@16313 | 19 esac |
pankso@16313 | 20 |
pascal@11215 | 21 # Rules to configure and make the package. |
pascal@11215 | 22 compile_rules() |
pankso@16313 | 23 { |
pascal@11215 | 24 ./autogen.sh |
pankso@15969 | 25 ./configure \ |
pascal@11215 | 26 --sysconfdir=/etc \ |
pascal@11215 | 27 $CONFIGURE_ARGS && |
pankso@16313 | 28 make && make install |
pascal@11215 | 29 } |
pascal@11215 | 30 |
pascal@11215 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 32 genpkg_rules() |
pascal@11215 | 33 { |
pascal@11215 | 34 mkdir -p $fs/usr/lib/ts |
pascal@15590 | 35 cp -a $install/usr/lib/ts/*.so* $fs/usr/lib/ts |
pascal@15590 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15590 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15590 | 38 cp -a $install/etc $fs |
pascal@11215 | 39 } |