wok-current view gtk3-engine-solidity/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 68d68791ced5
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk3-engine-solidity"
4 VERSION="0.4.1"
5 CATEGORY="customization"
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 }