wok view vidalia/receipt @ rev 12679

centerim: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 15:12:54 2012 +0200 (2012-05-01)
parents f0646ed4c21c
children 68ec33732967
line source
1 # SliTaz package receipt.
3 PACKAGE="vidalia"
4 VERSION="0.2.17"
5 CATEGORY="network"
6 SHORT_DESC="Controller GUI for the Tor software."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="https://www.torproject.org/vidalia/"
10 WGET_URL="https://www.torproject.org/vidalia/dist/$TARBALL"
12 DEPENDS="tor libQtGui libQtXml libegl-mesa"
13 BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir build && cd build
20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/ $fs/usr
30 }