wok-next view tslib/receipt @ rev 20475
Tiny edits: libsdl-mixer, scummvm, stella, syasokoban, sz81, tuxpaint, workerfm...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 11 13:37:02 2018 +0200 (2018-03-11) |
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 }