# HG changeset patch # User Christophe Lincoln # Date 1252443151 -7200 # Node ID e5e1be1b2e88384a884d5f0fda78edc0891adc28 # Parent e3b32d101ab84ce1dc41909972f81ad376fbaa0f Add automoc4 (CMake automatic MOC Generation) diff -r e3b32d101ab8 -r e5e1be1b2e88 automoc4/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/automoc4/receipt Tue Sep 08 22:52:31 2009 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="automoc4" +VERSION="0.9.88" +CATEGORY="x-window" +SHORT_DESC="CMake automatic MOC Generation." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +DEPENDS="cmake" +BUILD_DEPENDS="cmake qmake Qt4-dev" +WEB_SITE="http://www.kde.org/" +WGET_URL="ftp://ftp.kde.org/pub/kde/stable/$PACKAGE/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cmake . -DCMAKE_INSTALL_PREFIX=/usr && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +}