wok diff varka/receipt @ rev 20008
Add: description.txt and links revision.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Wed Aug 02 14:08:19 2017 -0300 (2017-08-02) |
parents | |
children | b75a8bca8ff9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/varka/receipt Wed Aug 02 14:08:19 2017 -0300 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 +}