wok rev 4042

Add automoc4 (CMake automatic MOC Generation)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 08 22:52:31 2009 +0200 (2009-09-08)
parents e3b32d101ab8
children 05fc1cdab76b
files automoc4/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/automoc4/receipt	Tue Sep 08 22:52:31 2009 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="automoc4"
     1.7 +VERSION="0.9.88"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="CMake automatic MOC Generation."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +DEPENDS="cmake"
    1.13 +BUILD_DEPENDS="cmake qmake Qt4-dev"
    1.14 +WEB_SITE="http://www.kde.org/"
    1.15 +WGET_URL="ftp://ftp.kde.org/pub/kde/stable/$PACKAGE/$VERSION/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
    1.22 +	make &&
    1.23 +	make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $_pkg/usr $fs
    1.30 +}