wok view lxqt-admin/receipt @ rev 17241
lxqt-admin: fix build.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 18 21:55:29 2014 +0300 (2014-10-18) |
parents | bdcd8803b305 |
children | c0ce132ba4ee |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-admin"
4 VERSION="0.8.0"
5 CATEGORY="system"
6 SHORT_DESC="LXQt system administration tool"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-admin"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtGui libffi pcre liblxqt liboobs"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liboobs-dev liblxqt-dev \
16 libqtxdg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|LXQt/Application|lxqt/lxqtapplication.h|' $src/lxqt-admin-*/main.cpp
23 mkdir build; cd build
24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
25 make &&
26 make DESTDIR=$install install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }