wok-next annotate dbus-glib/receipt @ rev 9970
gcc+gci: fix receipt and build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 17:57:35 2011 +0200 (2011-05-18) |
parents | 8bcb9d54d146 |
children | 7eee8daf368b |
rev | line source |
---|---|
pankso@791 | 1 # SliTaz package receipt. |
pankso@791 | 2 |
pankso@791 | 3 PACKAGE="dbus-glib" |
slaxemulator@7213 | 4 VERSION="0.92" |
pankso@791 | 5 CATEGORY="x-window" |
pankso@791 | 6 SHORT_DESC="D-Bus glib binding." |
pankso@791 | 7 DEPENDS="dbus glib" |
slaxemulator@7213 | 8 BUILD_DEPENDS="dbus-dev glib-dev expat-dev pkg-config gettext" |
pankso@791 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@791 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@791 | 11 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@791 | 12 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL" |
pankso@791 | 13 |
pankso@791 | 14 # Rules to configure and make the package. |
pankso@791 | 15 compile_rules() |
pankso@791 | 16 { |
pankso@791 | 17 cd $src |
pankso@791 | 18 ./configure \ |
pankso@791 | 19 --prefix=/usr \ |
pankso@791 | 20 --mandir=/usr/share/man \ |
pascal@1527 | 21 $CONFIGURE_ARGS && |
pascal@1527 | 22 make && |
pankso@791 | 23 make DESTDIR=$PWD/_pkg install |
pankso@791 | 24 } |
pankso@791 | 25 |
pankso@791 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@791 | 27 genpkg_rules() |
pankso@791 | 28 { |
pankso@791 | 29 mkdir -p $fs/usr/lib |
pankso@791 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@791 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@791 | 32 } |