wok-next view tslib/receipt @ rev 18082
Up marco: copy glib schemas
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 18:30:18 2015 -0300 (2015-05-22) |
parents | fd812ac90452 |
children | c5336999f370 |
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 }