wok-next annotate tslib/receipt @ rev 20737
libav: fix build; python-antlr: using pip; python-apsw: up (3.19.3-r1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:37:22 2018 +0300 (2018-05-29) |
parents | 757d032c55c7 |
children | d5aab818505e |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="tslib" |
pascal@11215 | 4 VERSION="1.0" |
al@19653 | 5 CATEGORY="x-window" |
al@20443 | 6 SHORT_DESC="Abstraction layer for touchscreen panel events" |
pascal@11215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15590 | 8 LICENSE="LGPL2" |
al@19653 | 9 WEB_SITE="https://sourceforge.net/projects/tslib.berlios/" |
al@19653 | 10 |
pascal@11215 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19653 | 12 WGET_URL="$SF_MIRROR/tslib.berlios/$TARBALL" |
pascal@11215 | 13 |
pascal@15592 | 14 BUILD_DEPENDS="libtool automake autoconf" |
al@20443 | 15 SPLIT="tslib-dev" |
pascal@15591 | 16 |
al@20443 | 17 compile_rules() { |
al@20443 | 18 case "$ARCH" in |
al@20443 | 19 arm*) export ac_cv_func_malloc_0_nonnull=yes ;; |
al@20443 | 20 esac |
pankso@16313 | 21 |
al@20443 | 22 ./autogen.sh && |
al@20534 | 23 ./configure $CONFIGURE_ARGS && |
al@20604 | 24 fix libtool && |
al@20534 | 25 make && |
al@20534 | 26 make install |
pascal@11215 | 27 } |
pascal@11215 | 28 |
al@20443 | 29 genpkg_rules() { |
al@20443 | 30 case $PACKAGE in |
al@20443 | 31 tslib) |
al@20443 | 32 copy @std |
al@20443 | 33 CONFIG_FILES="/etc/ts.conf" |
al@20443 | 34 ;; |
al@20443 | 35 *-dev) |
al@20443 | 36 copy @dev |
al@20443 | 37 ;; |
al@20443 | 38 esac |
pascal@11215 | 39 } |