wok-next view tslib/receipt @ rev 20942
Updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 28 08:45:59 2018 +0300 (2018-08-28) |
parents | 757d032c55c7 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tslib"
4 VERSION="1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Abstraction layer for touchscreen panel events"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://sourceforge.net/projects/tslib.berlios/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/tslib.berlios/$TARBALL"
14 BUILD_DEPENDS="libtool automake autoconf"
15 SPLIT="tslib-dev"
17 compile_rules() {
18 case "$ARCH" in
19 arm*) export ac_cv_func_malloc_0_nonnull=yes ;;
20 esac
22 ./autogen.sh &&
23 ./configure $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 tslib)
32 copy @std
33 CONFIG_FILES="/etc/ts.conf"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }