wok annotate dbus-glib/receipt @ rev 10959
fcitx: up to v4.1.1
author | Liu Peng <hipeng@yahoo.com> |
---|---|
date | Tue Sep 20 20:36:39 2011 +0800 (2011-09-20) |
parents | a0e96256c82a |
children | 455fab64530b |
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 MAINTAINER="pankso@slitaz.org" |
pankso@791 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@791 | 9 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@791 | 10 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL" |
pankso@10360 | 11 CROSS="bug: can not run test program" |
pankso@10360 | 12 |
pankso@10360 | 13 DEPENDS="dbus glib expat" |
pankso@10360 | 14 BUILD_DEPENDS="dbus-dev glib-dev expat-dev pkg-config gettext" |
pankso@791 | 15 |
pankso@791 | 16 # Rules to configure and make the package. |
pankso@791 | 17 compile_rules() |
pankso@791 | 18 { |
pankso@791 | 19 cd $src |
pankso@791 | 20 ./configure \ |
pankso@791 | 21 --prefix=/usr \ |
pankso@10360 | 22 --build=$HOST_SYSTEM \ |
pankso@10360 | 23 --host=$HOST_SYSTEM && |
pankso@10360 | 24 make && make install |
pankso@791 | 25 } |
pankso@791 | 26 |
pankso@791 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@791 | 28 genpkg_rules() |
pankso@791 | 29 { |
pankso@791 | 30 mkdir -p $fs/usr/lib |
pankso@791 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@791 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@791 | 33 } |