wok-next view gobject-introspection/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children | 4d9f82dabdbb |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gobject-introspection"
4 VERSION="1.52.1"
5 CATEGORY="development"
6 SHORT_DESC="Introspection system for GObject-based libraries"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2 MIT"
9 WEB_SITE="https://wiki.gnome.org/Projects/GObjectIntrospection"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/gobject-introspection.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev cairo-dev gtk-doc python-dev util-linux-mount-dev openssl-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 gobject-introspection)
30 copy @std *.typelib
31 rm -r $fs/usr/share
32 DEPENDS="glib libffi python"
33 ;;
34 *-dev)
35 copy @std @dev @rm
36 DEPENDS="gobject-introspection glib-dev libffi-dev"
37 ;;
38 esac
39 }