wok view libxfconf/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 17091bc7c301 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfconf"
4 VERSION="4.14.1"
5 CATEGORY="development"
6 SHORT_DESC="Client library for Xfce4 configure interface."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.xfce.org/"
11 SOURCE="xfconf"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.xfce.org/src/xfce/$SOURCE/${VERSION%.*}/$TARBALL"
15 DEPENDS="dbus-glib libxfce4util"
16 BUILD_DEPENDS="dbus-glib-dev libxfce4util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/xfce4 $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/share/dbus-1 $fs/usr/share
44 }