wok-current view tslib/receipt @ rev 20954
gcc83: typos (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 03 17:15:30 2019 +0100 (2019-03-03) |
parents | e3c24dc3326c |
children | 0d08d15e81f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tslib"
4 VERSION="1.0"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction layer for touchscreen panel events."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://github.com/kergoth/tslib"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="libtool automake autoconf"
16 # Handle cross compilation
17 case "$ARCH" in
18 arm*) export ac_cv_func_malloc_0_nonnull=yes ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh
25 ./configure \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/ts
35 cp -a $install/usr/lib/ts/*.so* $fs/usr/lib/ts
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 }