wok diff liblxqt/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents
children 6176ecc9ab78
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liblxqt/receipt	Mon Aug 18 08:45:31 2014 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="liblxqt"
     1.7 +VERSION="0.7.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Core utility library for all LXDE-Qt components"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://github.com/lxde/liblxqt"
    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 +DEPENDS="libQtCore libQtDBus libQtGui libqtxdg xorg-libX11"
    1.18 +BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev libqtxdg-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir build; cd build
    1.24 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$install install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.34 +}