wok-6.x view tslib/receipt @ rev 12262
Up: gmp (5.0.4) First new pkg used by new toolchain
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 11 17:36:00 2012 +0200 (2012-04-11) |
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 }