wok-next view granite/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 33dc3c330cc7
children 82b613cfd1e0
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="cairo 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 }