wok diff gtk3-engine-solidity/receipt @ rev 14252
readline: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 25 15:43:45 2013 +0100 (2013-03-25) |
parents | |
children | 68d68791ced5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtk3-engine-solidity/receipt Mon Mar 25 15:43:45 2013 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gtk3-engine-solidity" 1.7 +VERSION="0.4.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Solidity GTK+3 engine and themes" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL" 1.12 +WEB_SITE="http://gnome-look.org/content/show.php/solidity+gtk3+engine?content=142331" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="http://gnome-look.org/CONTENT/content-files/142331-solidity-$VERSION.tar.bz2" 1.15 + 1.16 +DEPENDS="gtk+3" 1.17 +BUILD_DEPENDS="vala glib-dev gtk+3-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/source/gtk3 1.23 + valac --pkg=gmodule-2.0 --pkg=gtk+-3.0 -C solidity.vala 1.24 + gcc -shared -fPIC \ 1.25 + $(pkg-config --cflags --libs glib-2.0 gmodule-2.0 gtk+-3.0) \ 1.26 + -o libsolidity.so solidity.c 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 \ 1.33 + $fs/usr/lib/gtk-3.0/3.0.0/theming-engines \ 1.34 + $fs/usr/share 1.35 + cp -a $src/source/gtk3/libsolidity.so \ 1.36 + $fs/usr/lib/gtk-3.0/3.0.0/theming-engines 1.37 + cp -a $src/themes $fs/usr/share 1.38 + find $fs -name 'gtk-2.0' -delete 1.39 +}