wok-next diff libdbusmenu-qt/receipt @ rev 13048

Up: cups, cups-dev, cups-pam (1.5.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 18 21:47:07 2012 +0200 (2012-06-18)
parents
children ca30f29e8297
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libdbusmenu-qt/receipt	Mon Jun 18 21:47:07 2012 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libdbusmenu-qt"
     1.7 +VERSION="0.8.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Library to import and export QMenu instances using the DBusMenu."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="https://launchpad.net/libdbusmenu-qt"
    1.13 +WGET_URL="http://launchpad.net/libdbusmenu-qt/trunk/$VERSION/+download/$TARBALL"
    1.14 +
    1.15 +DEPENDS="dbus"
    1.16 +BUILD_DEPENDS="cmake qmake Qt4-dev dbus-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	mkdir -p $src/build
    1.22 +	cd $src/build
    1.23 +	cmake \
    1.24 +		-DCMAKE_BUILD_TYPE=Release \
    1.25 +		-DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.26 +	make && make install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 +}