wok-next annotate tslib/receipt @ rev 20430

fake-sane: fix copy-paste typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:29:11 2018 +0200 (2018-01-24)
parents c5336999f370
children 0e7893ac206d
rev   line source
pascal@11215 1 # SliTaz package receipt.
pascal@11215 2
pascal@11215 3 PACKAGE="tslib"
pascal@11215 4 VERSION="1.0"
al@19653 5 CATEGORY="x-window"
pascal@11215 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 HOST_ARCH="i486 arm"
al@19653 11 CONFIG_FILES="/etc/ts.conf"
al@19653 12
pascal@11215 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19653 14 WGET_URL="$SF_MIRROR/tslib.berlios/$TARBALL"
pascal@11215 15
pascal@15592 16 BUILD_DEPENDS="libtool automake autoconf"
pascal@15591 17
pankso@16313 18 # Handle cross compilation
pankso@16313 19 case "$ARCH" in
pankso@16313 20 arm*) export ac_cv_func_malloc_0_nonnull=yes ;;
pankso@16313 21 esac
pankso@16313 22
pascal@11215 23 # Rules to configure and make the package.
pascal@11215 24 compile_rules()
pankso@16313 25 {
pascal@11215 26 ./autogen.sh
pankso@15969 27 ./configure \
pascal@11215 28 --sysconfdir=/etc \
pascal@11215 29 $CONFIGURE_ARGS &&
pankso@16313 30 make && make install
pascal@11215 31 }
pascal@11215 32
pascal@11215 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11215 34 genpkg_rules()
pascal@11215 35 {
al@19783 36 copy etc/ bin/ *.so*
pascal@11215 37 }