wok-next annotate gsettings-desktop-schemas/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | f463de72afe3 |
children | 0222c6257a8d |
rev | line source |
---|---|
al@20129 | 1 # SliTaz package receipt v2. |
al@13522 | 2 |
al@13522 | 3 PACKAGE="gsettings-desktop-schemas" |
al@20129 | 4 VERSION="3.24.0" |
al@20129 | 5 CATEGORY="gnome" |
al@20129 | 6 SHORT_DESC="Collection of GSettings schemas" |
al@13522 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20129 | 9 WEB_SITE="https://git.gnome.org/browse/gsettings-desktop-schemas" |
al@20129 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gsettings-desktop-schemas.html" |
al@19693 | 11 |
al@13522 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19693 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@13522 | 14 |
al@19779 | 15 BUILD_DEPENDS="glib-dev gobject-introspection-dev intltool" |
al@20129 | 16 SPLIT="gsettings-desktop-schemas-dev" |
pascal@14996 | 17 |
al@20129 | 18 compile_rules() { |
al@20129 | 19 sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in |
al@19693 | 20 |
al@19693 | 21 ./configure $CONFIGURE_ARGS && make && make install |
al@13522 | 22 } |
al@13522 | 23 |
al@20129 | 24 genpkg_rules() { |
al@20129 | 25 case $PACKAGE in |
al@20129 | 26 gsettings-desktop-schemas) |
al@20129 | 27 copy @std |
al@20129 | 28 DEPENDS="glib dconf" |
al@20129 | 29 ;; |
al@20129 | 30 *-dev) |
al@20129 | 31 copy @dev |
al@20129 | 32 DEPENDS="gsettings-desktop-schemas glib-dev" |
al@20129 | 33 ;; |
al@20129 | 34 esac |
al@13522 | 35 } |