wok view xfconf/receipt @ rev 24717
updated liba53 (0.1 -> 4.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 07:27:19 2022 +0100 (2022-03-15) |
parents | cfb29dc98daa |
children | bd7510903310 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfconf"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Copnfiguration Utility"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libxfce4util dbus-glib"
14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev intltool"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --infodir=/usr/share/info \
31 --disable-debug \
32 --mandir=/usr/share/man $CONFIGURE_ARGS && \
33 make && make install
34 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr \
41 $fs/usr/lib \
42 $fs/usr/share/locale
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/xfce4 $fs/usr/lib
48 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
49 cp -a $install/usr/share/dbus-1 $fs/usr/share
51 strip -s $fs/usr/lib/xfce4/$PACKAGE/*
52 }