wok view liblxqt/receipt @ rev 20155
ppp: add post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 21 09:59:35 2017 +0100 (2017-12-21) |
parents | 6176ecc9ab78 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="liblxqt"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Core utility library for all LXDE-Qt components"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/liblxqt"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libqtxdg xorg-libX11"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev libqtxdg-dev \
16 libQtMimeTypes-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p0 < $stuff/poweroff+reboot.diff
22 mkdir build; cd build
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DLXQT_ETC_XDG_DIR=/etc .. &&
24 make &&
25 make DESTDIR=$install install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }