wok-next annotate json-glib/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 757d032c55c7 |
children | f48456621a9d |
rev | line source |
---|---|
al@20108 | 1 # SliTaz package receipt v2. |
mallory@3710 | 2 |
mallory@3710 | 3 PACKAGE="json-glib" |
al@20629 | 4 VERSION="1.4.2" |
mallory@3710 | 5 CATEGORY="development" |
al@20108 | 6 SHORT_DESC="JSON parser for GLib" |
mallory@3710 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20108 | 9 WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" |
al@20108 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/json-glib.html" |
gokhlayeh@11478 | 11 |
al@20108 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20108 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
mallory@3710 | 14 |
al@20629 | 15 BUILD_DEPENDS="meson ninja glib-dev gobject-introspection-dev gettext" |
al@20108 | 16 SPLIT="json-glib-dev" |
al@20108 | 17 |
al@20108 | 18 compile_rules() { |
al@20629 | 19 mkdir build |
al@20629 | 20 cd build |
al@20629 | 21 |
al@20629 | 22 meson-wrapper .. && |
al@20629 | 23 ninja && |
al@20629 | 24 ninja install |
mallory@3710 | 25 } |
mallory@3710 | 26 |
al@20108 | 27 genpkg_rules() { |
al@20108 | 28 case $PACKAGE in |
al@20108 | 29 json-glib) |
al@20108 | 30 copy @std |
al@20629 | 31 rm -r $fs/usr/lib/installed-tests/ $fs/usr/share/ |
al@20406 | 32 DEPENDS="glib" |
al@20108 | 33 TAGS="javascript" |
al@20108 | 34 ;; |
al@20108 | 35 *-dev) |
al@20629 | 36 copy @std @rm @dev |
al@20629 | 37 DEPENDS="json-glib glib-dev" |
al@20108 | 38 ;; |
al@20108 | 39 esac |
mallory@3710 | 40 } |