wok view tslib/receipt @ rev 22354

podofo: added dependency libcrypto
author Hans-G?nter Theisgen
date Wed Nov 20 16:59:38 2019 +0100 (2019-11-20)
parents 8dd8bab3f0ca
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="tslib"
4 VERSION="1.21"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction layer for touchscreen panel events."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://www.tslib.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libts/$PACKAGE/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="autoconf automake libtool"
16 HOST_ARCH="i486 arm"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm*) export ac_cv_func_malloc_0_nonnull=yes ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/ts
39 cp -a $install/usr/lib/ts/*.so* $fs/usr/lib/ts
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/etc $fs
43 }