wok view tslib/receipt @ rev 12254

Up: slitaz-configs (4.9.1) - Last minute bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 10 13:54:27 2012 +0200 (2012-04-10)
parents
children 600aaedb561d
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 WEB_SITE="http://tslib.berlios.de/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./autogen.sh
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/ts
29 cp -a $_pkg/usr/lib/ts/*.so* $fs/usr/lib/ts
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/etc $fs
33 }