wok annotate gtk3-engine-solidity/receipt @ rev 19363
Add bwm-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 09:44:00 2016 +0200 (2016-08-03) |
parents | 68d68791ced5 |
children | 73f36875e5a7 |
rev | line source |
---|---|
al@14225 | 1 # SliTaz package receipt. |
al@14225 | 2 |
al@14225 | 3 PACKAGE="gtk3-engine-solidity" |
al@14225 | 4 VERSION="0.4.1" |
al@19126 | 5 CATEGORY="customization" |
al@14225 | 6 SHORT_DESC="Solidity GTK+3 engine and themes" |
al@14225 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14225 | 8 LICENSE="GPL" |
al@14225 | 9 WEB_SITE="http://gnome-look.org/content/show.php/solidity+gtk3+engine?content=142331" |
al@14225 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14225 | 11 WGET_URL="http://gnome-look.org/CONTENT/content-files/142331-solidity-$VERSION.tar.bz2" |
al@14269 | 12 TAGS="gtk3" |
al@14225 | 13 |
al@14225 | 14 DEPENDS="gtk+3" |
al@14225 | 15 BUILD_DEPENDS="vala glib-dev gtk+3-dev" |
al@14225 | 16 |
al@14225 | 17 # Rules to configure and make the package. |
al@14225 | 18 compile_rules() |
al@14225 | 19 { |
al@14225 | 20 cd $src/source/gtk3 |
al@14225 | 21 valac --pkg=gmodule-2.0 --pkg=gtk+-3.0 -C solidity.vala |
al@14225 | 22 gcc -shared -fPIC \ |
al@14225 | 23 $(pkg-config --cflags --libs glib-2.0 gmodule-2.0 gtk+-3.0) \ |
al@14225 | 24 -o libsolidity.so solidity.c |
al@14225 | 25 } |
al@14225 | 26 |
al@14225 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14225 | 28 genpkg_rules() |
al@14225 | 29 { |
al@14225 | 30 mkdir -p \ |
al@14225 | 31 $fs/usr/lib/gtk-3.0/3.0.0/theming-engines \ |
al@14225 | 32 $fs/usr/share |
al@14225 | 33 cp -a $src/source/gtk3/libsolidity.so \ |
al@14225 | 34 $fs/usr/lib/gtk-3.0/3.0.0/theming-engines |
al@14225 | 35 cp -a $src/themes $fs/usr/share |
al@14225 | 36 find $fs -name 'gtk-2.0' -delete |
al@14225 | 37 } |