rev |
line source |
psychomaniak@17122
|
1 # SliTaz package receipt.
|
psychomaniak@17122
|
2
|
psychomaniak@17122
|
3 PACKAGE="qlipper"
|
psychomaniak@17122
|
4 VERSION="2.0.2"
|
psychomaniak@17122
|
5 CATEGORY="utilities"
|
psychomaniak@17122
|
6 SHORT_DESC="Clipboard history tool."
|
psychomaniak@17122
|
7 MAINTAINER="psychomaniak@xakep.ru"
|
psychomaniak@17122
|
8 LICENSE="GPL2"
|
psychomaniak@17122
|
9 WEB_SITE="http://qlipper.googlecode.com/"
|
psychomaniak@17122
|
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
|
psychomaniak@17122
|
11 WGET_URL="$WEB_SITE/files/$TARBALL"
|
psychomaniak@17122
|
12
|
psychomaniak@17122
|
13 DEPENDS="libQtGui libQtDBus libQtNetwork"
|
psychomaniak@17122
|
14 BUILD_DEPENDS="Qt4-dev cmake qmake"
|
psychomaniak@17122
|
15
|
psychomaniak@17122
|
16 # Rules to configure and make the package.
|
psychomaniak@17122
|
17 compile_rules()
|
psychomaniak@17122
|
18 {
|
psychomaniak@17122
|
19 cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt
|
psychomaniak@17122
|
20 cmake \
|
psychomaniak@17122
|
21 -DCMAKE_BUILD_TYPE=release \
|
psychomaniak@17122
|
22 -DUSE_SYSTEM_QXT=0 \
|
psychomaniak@17122
|
23 -DCMAKE_INSTALL_PREFIX=/usr . &&
|
psychomaniak@17122
|
24 make && make DESTDIR=$DESTDIR install
|
psychomaniak@17122
|
25 }
|
psychomaniak@17122
|
26
|
psychomaniak@17122
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
psychomaniak@17122
|
28 genpkg_rules()
|
psychomaniak@17122
|
29 {
|
psychomaniak@17122
|
30 cp -a $install/* $fs
|
psychomaniak@17122
|
31 }
|