wok-next view automoc4/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 395ec8205cff
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="automoc4"
4 VERSION="0.9.88"
5 CATEGORY="x-window"
6 SHORT_DESC="CMake automatic MOC Generation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="cmake libQtCore gcc-lib-base"
14 BUILD_DEPENDS="cmake qmake Qt4-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }