wok view tslib/receipt @ rev 20341

Up tazlito (512)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 07 13:39:00 2018 +0200 (2018-06-07)
parents fd812ac90452
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="tslib"
4 VERSION="1.0"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction layer for touchscreen panel events."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://tslib.berlios.de/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="libtool automake autoconf"
16 # Handle cross compilation
17 case "$ARCH" in
18 arm*) export ac_cv_func_malloc_0_nonnull=yes ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh
25 ./configure \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/ts
35 cp -a $install/usr/lib/ts/*.so* $fs/usr/lib/ts
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 }