wok-next annotate libsigc++/receipt @ rev 9384
Fixed tazpkg and tazwok to get the sources from mercurial through tag archives.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 00:07:02 2011 +0000 (2011-03-26) |
parents | 2f0217389f28 |
children | b33423de19b3 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="libsigc++" |
slaxemulator@6200 | 4 VERSION="2.2.8" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@137 | 6 SHORT_DESC="Callback Framework for C++" |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6200 | 8 BUILD_DEPENDS="m4" |
slaxemulator@7088 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@137 | 10 WEB_SITE="http://libsigc.sourceforge.net/" |
slaxemulator@7088 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@137 | 12 |
pankso@137 | 13 # Rules to configure and make the package. |
pankso@137 | 14 compile_rules() |
pankso@137 | 15 { |
pankso@137 | 16 cd $src |
pankso@137 | 17 ./configure \ |
pankso@137 | 18 --prefix=/usr \ |
pankso@137 | 19 --infodir=/usr/share/info \ |
pankso@137 | 20 --mandir=/usr/share/man \ |
pascal@2555 | 21 $CONFIGURE_ARGS && |
pascal@2555 | 22 make && |
pankso@137 | 23 make DESTDIR=$PWD/_pkg install |
pankso@137 | 24 } |
pankso@137 | 25 |
pankso@137 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 27 genpkg_rules() |
pankso@137 | 28 { |
pankso@137 | 29 mkdir -p $fs/usr/lib |
pankso@137 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 31 } |