wok-4.x view tslib/receipt @ rev 12469

tazpkg: upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Wed Nov 09 19:06:12 2022 +0000 (24 months ago)
parents
children
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 }