wok diff lxqt-common/receipt @ rev 16874

Up atk-dev (2.7.5)
author Yuri Pourre <yuripourre@gmail.com>
date Sun Jul 13 13:06:14 2014 -0300 (2014-07-13)
parents
children bdcd8803b305
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lxqt-common/receipt	Sun Jul 13 13:06:14 2014 -0300
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lxqt-common"
     1.7 +VERSION="0.7.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Common files for LXQt"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://github.com/lxde/lxqt-common"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
    1.15 +TAGS="LXQt"
    1.16 +
    1.17 +# TODO: add more depends
    1.18 +DEPENDS="xorg-xprop dbus "
    1.19 +BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liblxqt-dev grep"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	mkdir build; cd build
    1.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$install install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/etc $fs
    1.35 +	cd $fs; patch -p0 < $stuff/settings.diff
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/share $fs/usr
    1.38 +	# all themes but 'flat' go to 'lxqt-themes'
    1.39 +	rm -rf $fs/usr/share/lxqt/themes/*
    1.40 +	cp -a $install/usr/share/lxqt/themes/flat $fs/usr/share/lxqt/themes
    1.41 +}