wok-next annotate glib/receipt @ rev 21079
emacs: update dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 14:46:21 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 7c5d038be95b |
rev | line source |
---|---|
al@19761 | 1 # SliTaz package receipt v2. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="glib" |
al@21071 | 4 VERSION="2.58.1" |
pankso@22 | 5 CATEGORY="x-window" |
al@19761 | 6 SHORT_DESC="C routines" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19780 | 9 WEB_SITE="https://developer.gnome.org/glib/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html" |
pankso@16015 | 11 |
al@19590 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19761 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19590 | 14 |
al@21020 | 15 BUILD_DEPENDS="automake libtool zlib-dev libffi-dev gettext-dev \ |
al@21071 | 16 util-linux-mount-dev pcre-dev libxslt docbook-xsl elfutils-dev" |
al@21071 | 17 SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE" |
pankso@15967 | 18 |
al@21071 | 19 COPY_static="*.a" |
al@21071 | 20 COPY_dev="gdbus-codegen gobject-query bin/gresource bin/gtester* \ |
al@21071 | 21 bin/glib-gettextize bin/glib-mkenums gdb/ gettext/ glib-2.0/ @dev @rm" |
al@21071 | 22 |
al@21071 | 23 DEPENDS_std="libffi libpcre util-linux-mount zlib" |
al@21071 | 24 DEPENDS_dev="glib elfutils libffi libpcre pcre-dev python util-linux-mount-dev \ |
al@21071 | 25 zlib-dev perl" |
al@21071 | 26 |
al@21071 | 27 CAT_static="development|static libraries" |
al@20750 | 28 |
al@20405 | 29 compile_rules() { |
al@20730 | 30 # --enable-static: desktop-file-validate-static require such lib |
al@21071 | 31 ./autogen.sh \ |
al@20730 | 32 --enable-debug=no \ |
al@20730 | 33 --enable-static \ |
al@21071 | 34 --disable-selinux \ |
al@20730 | 35 --disable-fam \ |
al@21071 | 36 --enable-man \ |
al@20730 | 37 $CONFIGURE_ARGS && |
al@20730 | 38 fix libtool && |
al@20730 | 39 make && |
al@20730 | 40 make install |
pankso@22 | 41 } |