wok annotate automoc4/receipt @ rev 4973
add/improve TAGS t* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 12:13:18 2010 +0000 (2010-02-24) |
parents | |
children | 395ec8205cff |
rev | line source |
---|---|
pankso@4042 | 1 # SliTaz package receipt. |
pankso@4042 | 2 |
pankso@4042 | 3 PACKAGE="automoc4" |
pankso@4042 | 4 VERSION="0.9.88" |
pankso@4042 | 5 CATEGORY="x-window" |
pankso@4042 | 6 SHORT_DESC="CMake automatic MOC Generation." |
pankso@4042 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4042 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4042 | 9 DEPENDS="cmake" |
pankso@4042 | 10 BUILD_DEPENDS="cmake qmake Qt4-dev" |
pankso@4042 | 11 WEB_SITE="http://www.kde.org/" |
pankso@4042 | 12 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/$PACKAGE/$VERSION/$TARBALL" |
pankso@4042 | 13 |
pankso@4042 | 14 # Rules to configure and make the package. |
pankso@4042 | 15 compile_rules() |
pankso@4042 | 16 { |
pankso@4042 | 17 cd $src |
pankso@4042 | 18 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@4042 | 19 make && |
pankso@4042 | 20 make DESTDIR=$PWD/_pkg install |
pankso@4042 | 21 } |
pankso@4042 | 22 |
pankso@4042 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4042 | 24 genpkg_rules() |
pankso@4042 | 25 { |
pankso@4042 | 26 cp -a $_pkg/usr $fs |
pankso@4042 | 27 } |