wok-6.x annotate automoc4/receipt @ rev 10952
Update get-xnviewmp (thanks Saipul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 11 15:55:20 2011 +0200 (2011-09-11) |
parents | e5e1be1b2e88 |
children | 2a5cc8208d36 |
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" |
pascal@4998 | 9 DEPENDS="cmake libQtCore gcc-lib-base" |
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 } |