wok-6.x annotate libsexy/receipt @ rev 1137

Fix post_install for subdir install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 12:27:06 2008 +0000 (2008-07-24)
parents
children dd8bb4875d43
rev   line source
pankso@877 1 # SliTaz package receipt.
pankso@877 2
pankso@877 3 PACKAGE="libsexy"
pankso@877 4 VERSION="0.1.11"
pankso@877 5 CATEGORY="x-window"
pankso@877 6 SHORT_DESC="Sexy widgests for GTK+."
pankso@877 7 MAINTAINER="pankso@slitaz.org"
pankso@877 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@877 9 WEB_SITE="http://www.chipx86.com/wiki/Libsexy"
pankso@877 10 WGET_URL="http://releases.chipx86.com/libsexy/libsexy/$TARBALL"
pankso@877 11
pankso@877 12 # Rules to configure and make the package.
pankso@877 13 compile_rules()
pankso@877 14 {
pankso@877 15 cd $src
pankso@877 16 ./configure \
pankso@877 17 --prefix=/usr \
pankso@877 18 --mandir=/usr/share/man \
pankso@877 19 $CONFIGURE_ARGS
pankso@877 20 make
pankso@877 21 make DESTDIR=$PWD/_pkg install
pankso@877 22 }
pankso@877 23
pankso@877 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@877 25 genpkg_rules()
pankso@877 26 {
pankso@877 27 mkdir -p $fs/usr/lib
pankso@877 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@877 29 }