wok-next view tslib/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents f463de72afe3
children 757d032c55c7
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 \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make && 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 }