wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="gtk3-engine-solidity"
4 VERSION="0.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Solidity GTK+3 engine and themes"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://gnome-look.org/content/show.php/solidity+gtk3+engine?content=142331"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://gnome-look.org/CONTENT/content-files/142331-solidity-$VERSION.tar.bz2"
13 DEPENDS="gtk+3"
14 BUILD_DEPENDS="vala glib-dev gtk+3-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/source/gtk3
20 valac --pkg=gmodule-2.0 --pkg=gtk+-3.0 -C solidity.vala
21 gcc -shared -fPIC \
22 $(pkg-config --cflags --libs glib-2.0 gmodule-2.0 gtk+-3.0) \
23 -o libsolidity.so solidity.c
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p \
30 $fs/usr/lib/gtk-3.0/3.0.0/theming-engines \
31 $fs/usr/share
32 cp -a $src/source/gtk3/libsolidity.so \
33 $fs/usr/lib/gtk-3.0/3.0.0/theming-engines
34 cp -a $src/themes $fs/usr/share
35 find $fs -name 'gtk-2.0' -delete
36 }