wok diff varka/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents
children b75a8bca8ff9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/varka/receipt	Fri Mar 31 12:51:11 2017 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="varka"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A library on top of gtk to build applications"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://launchpad.net/varka"
    1.13 +BRANCH="15"
    1.14 +TARBALL="$PACKAGE-$BRANCH.tar.bz2"
    1.15 +WGET_URL="bzr|lp:varka"
    1.16 +
    1.17 +DEPENDS="gtk+3"
    1.18 +BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev libgio-dev vala"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
    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/lib
    1.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.35 +}