wok-next view xfconf/receipt @ rev 20496
Packages with tag "Xfce": fix (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 14 17:14:32 2018 +0200 (2018-03-14) |
parents | a566e73b574d |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfconf"
4 VERSION="4.12.0" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce configuration utility"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xfce.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="intltool libxfce4util-dev dbus-dev dbus-glib-dev \
15 perl-extutils-depends perl-extutils-pkgconfig perl-glib perl-dev"
16 SPLIT="xfconf-dev xfconf-perl xfconf"
18 compile_rules() {
19 fix ld
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --disable-debug \
24 --disable-gtk-doc \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 chmod a+x $install/usr/lib/libxfconf-0.so.2.0.0
31 find $install/usr/lib/perl5 -type f -exec chmod u+w '{}' \;
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 *-dev)
37 copy @dev
38 DEPENDS="xfconf xfconf-perl \
39 dbus-dev dbus-glib-dev glib-dev"
40 ;;
41 xfconf-perl)
42 copy /usr/lib/perl5/ @rm
43 DEPENDS="dbus dbus-glib glib perl xfconf"
44 CAT="perl|Perl bindings"
45 ;;
46 xfconf)
47 copy @std @rm
48 DEPENDS="dbus dbus-glib glib libxfce4util"
49 ;;
50 esac
51 TAGS="Xfce"
52 }