wok annotate tslib/receipt @ rev 22130

updated wifidog (1.1.5 -> 1.3.0)
author Hans-G?nter Theisgen
date Mon Nov 04 11:16:52 2019 +0100 (2019-11-04)
parents 8dd8bab3f0ca
children 5ea0ce1cecc0
rev   line source
pascal@11215 1 # SliTaz package receipt.
pascal@11215 2
pascal@11215 3 PACKAGE="tslib"
Hans-G?nter@22052 4 VERSION="1.21"
pascal@11215 5 CATEGORY="development"
pascal@11215 6 SHORT_DESC="Abstraction layer for touchscreen panel events."
pascal@11215 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15590 8 LICENSE="LGPL2"
Hans-G?nter@22052 9 WEB_SITE="http://www.tslib.org/"
Hans-G?nter@22052 10
Hans-G?nter@22052 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22052 12 WGET_URL="https://github.com/libts/$PACKAGE/archive/$VERSION.tar.gz"
Hans-G?nter@22052 13
Hans-G?nter@22052 14 BUILD_DEPENDS="autoconf automake libtool"
Hans-G?nter@22052 15
pankso@16313 16 HOST_ARCH="i486 arm"
pascal@11215 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 {
Hans-G?nter@22052 26 ./autogen.sh &&
Hans-G?nter@22052 27 ./configure \
Hans-G?nter@22052 28 --sysconfdir=/etc \
pascal@11215 29 $CONFIGURE_ARGS &&
Hans-G?nter@22052 30 make &&
Hans-G?nter@22052 31 make install
pascal@11215 32 }
pascal@11215 33
pascal@11215 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11215 35 genpkg_rules()
pascal@11215 36 {
pascal@11215 37 mkdir -p $fs/usr/lib/ts
Hans-G?nter@22052 38
Hans-G?nter@22052 39 cp -a $install/usr/lib/ts/*.so* $fs/usr/lib/ts
Hans-G?nter@22052 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22052 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22052 42 cp -a $install/etc $fs
pascal@11215 43 }