wok-current annotate lxqt-admin/receipt @ rev 17675
nmon: keep source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:21:08 2015 +0100 (2015-02-18) |
parents | c4797398860e |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lxqt-admin" |
psychomaniak@17239 | 4 VERSION="0.8.0" |
al@17516 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="LXQt system administration tool" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/lxqt-admin" |
al@16833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@17239 | 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" |
al@16833 | 12 TAGS="LXQt" |
al@16833 | 13 |
al@16833 | 14 DEPENDS="libQtCore libQtGui libffi pcre liblxqt liboobs" |
al@16833 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liboobs-dev liblxqt-dev \ |
al@16833 | 16 libqtxdg-dev" |
al@16833 | 17 |
al@16833 | 18 # Rules to configure and make the package. |
al@16833 | 19 compile_rules() |
al@16833 | 20 { |
al@17241 | 21 sed -i 's|LXQt/Application|lxqt/lxqtapplication.h|' $src/lxqt-admin-*/main.cpp |
al@16833 | 22 |
al@16833 | 23 mkdir build; cd build |
al@16833 | 24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 25 make && |
al@16833 | 26 make DESTDIR=$install install |
al@16833 | 27 } |
al@16833 | 28 |
al@16833 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 30 genpkg_rules() |
al@16833 | 31 { |
al@16833 | 32 cp -a $install/* $fs |
al@16833 | 33 } |