wok-next view granite/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="granite"
4 VERSION="5.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library that extends GTK+"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://github.com/elementary/granite"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/elementary/granite/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake vala gtk3-dev libgee-dev gobject-introspection-dev \
15 gettext-dev"
16 SPLIT="$PACKAGE-demo $PACKAGE $PACKAGE-dev"
18 COOKOPTS="!menus"
20 compile_rules() {
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 granite-demo)
33 copy granite-demo granite-demo.desktop
34 CAT="development|demo"
35 DEPENDS="glib granite gtk3 libgee"
36 ;;
37 granite)
38 copy @std *.svg *.mo @rm
39 DEPENDS="libcairo gdk-pixbuf glib gtk3 libgee pango"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="granite cairo-dev gdk-pixbuf-dev glib-dev gtk3-dev \
44 libgee-dev"
45 ;;
46 esac
47 }