wok-6.x annotate tslib/receipt @ rev 12873

ario: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 25 10:20:55 2012 +0200 (2012-05-25)
parents
children 600aaedb561d
rev   line source
pascal@11215 1 # SliTaz package receipt.
pascal@11215 2
pascal@11215 3 PACKAGE="tslib"
pascal@11215 4 VERSION="1.0"
pascal@11215 5 CATEGORY="development"
pascal@11215 6 SHORT_DESC="Abstraction layer for touchscreen panel events."
pascal@11215 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11215 8 WEB_SITE="http://tslib.berlios.de/"
pascal@11215 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11215 10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
pascal@11215 11
pascal@11215 12 # Rules to configure and make the package.
pascal@11215 13 compile_rules()
pascal@11215 14 {
pascal@11215 15 cd $src
pascal@11215 16 ./autogen.sh
pascal@11215 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11215 18 --sysconfdir=/etc \
pascal@11215 19 --mandir=/usr/share/man \
pascal@11215 20 $CONFIGURE_ARGS &&
pascal@11215 21 make &&
pascal@11215 22 make DESTDIR=$DESTDIR install
pascal@11215 23 }
pascal@11215 24
pascal@11215 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11215 26 genpkg_rules()
pascal@11215 27 {
pascal@11215 28 mkdir -p $fs/usr/lib/ts
pascal@11215 29 cp -a $_pkg/usr/lib/ts/*.so* $fs/usr/lib/ts
pascal@11215 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11215 31 cp -a $_pkg/usr/bin $fs/usr
pascal@11215 32 cp -a $_pkg/etc $fs
pascal@11215 33 }