wok-6.x view gtk3-engine-solidity/receipt @ rev 18944
Up: vlc (2.2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 16:53:03 2016 +0100 (2016-03-03) |
parents | 66feb7f9e198 |
children | 40fab26c175d |
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"
12 TAGS="gtk3"
14 DEPENDS="gtk+3"
15 BUILD_DEPENDS="vala glib-dev gtk+3-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/source/gtk3
21 valac --pkg=gmodule-2.0 --pkg=gtk+-3.0 -C solidity.vala
22 gcc -shared -fPIC \
23 $(pkg-config --cflags --libs glib-2.0 gmodule-2.0 gtk+-3.0) \
24 -o libsolidity.so solidity.c
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p \
31 $fs/usr/lib/gtk-3.0/3.0.0/theming-engines \
32 $fs/usr/share
33 cp -a $src/source/gtk3/libsolidity.so \
34 $fs/usr/lib/gtk-3.0/3.0.0/theming-engines
35 cp -a $src/themes $fs/usr/share
36 find $fs -name 'gtk-2.0' -delete
37 }