wok-next view libgsf/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 25deb7c6df08 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgsf"
4 VERSION="1.14.42"
5 CATEGORY="libs"
6 SHORT_DESC="GNOME Structured File Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/gsf/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgsf.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool gtk-doc glib-dev libxml2-dev zlib-dev bzip2-dev \
16 gdk-pixbuf-dev gobject-introspection-dev"
17 SPLIT="libgsf-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 --enable-introspection \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libgsf)
32 copy @std
33 DEPENDS="bzlib gdk-pixbuf glib libxml2 zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libgsf glib-dev libxml2-dev"
38 ;;
39 esac
40 }