wok-next view xfconf/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 6d367d984b77
children 690e7cc036d5
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 ./configure \
20 --disable-debug \
21 --disable-gtk-doc \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install || return 1
27 chmod a+x $install/usr/lib/libxfconf-0.so.2.0.0
28 find $install/usr/lib/perl5 -type f -exec chmod u+w '{}' \;
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-dev)
34 copy @dev
35 DEPENDS="xfconf xfconf-perl \
36 dbus-dev dbus-glib-dev glib-dev"
37 ;;
38 xfconf-perl)
39 copy /usr/lib/perl5/ @rm
40 DEPENDS="dbus dbus-glib glib perl xfconf"
41 CAT="perl|Perl bindings"
42 ;;
43 xfconf)
44 copy @std @rm
45 DEPENDS="dbus dbus-glib glib libxfce4util"
46 ;;
47 esac
48 TAGS="Xfce"
49 }