wok-next view libpeas/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | de355b69ea82 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpeas"
4 VERSION="1.22.0"
5 CATEGORY="libs"
6 SHORT_DESC="GObject Plugin System"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/Libpeas"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/libpeas.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/libpeas/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool gobject-introspection-dev gtk3-dev python-dev \
16 python-pygobject-dev gtk-doc"
17 SPLIT="$PACKAGE-gtk $PACKAGE-python $PACKAGE-dev $PACKAGE-demo"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libpeas)
29 copy libpeas-1.0.so*
30 DEPENDS="glib gobject-introspection"
31 ;;
32 *-gtk)
33 copy libpeas-gtk-1.0.so*
34 DEPENDS="glib gobject-introspection gtk3 libpeas"
35 ;;
36 *-python)
37 copy libpythonloader.so
38 DEPENDS="glib libpeas python"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="${SPLIT/$PACKAGE/} glib-dev gobject-introspection-dev \
43 gtk3-dev"
44 ;;
45 *-demo)
46 copy peas-demo peas-demo/ hicolor/ @rm
47 find $fs -name '*.la' -delete
48 DEPENDS="glib gobject-introspection gtk3 libpeas libpeas-gtk"
49 ;;
50 esac
51 }