wok-next annotate libsigc++/receipt @ rev 12855
make: cross compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 23 16:27:19 2012 +0200 (2012-05-23) |
parents | eb512922693f |
children | 6eff489aa802 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="libsigc++" |
gokhlayeh@11385 | 4 VERSION="2.2.10" |
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@12386 | 11 WGET_URL="$GNOME_MIRROR/$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 |
slaxemulator@12386 | 17 |
pankso@137 | 18 ./configure \ |
pascal@2555 | 19 $CONFIGURE_ARGS && |
pascal@2555 | 20 make && |
slaxemulator@10084 | 21 make install |
pankso@137 | 22 } |
pankso@137 | 23 |
pankso@137 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 25 genpkg_rules() |
pankso@137 | 26 { |
pankso@137 | 27 mkdir -p $fs/usr/lib |
pankso@137 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 29 } |