wok annotate libxfconf/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
al@14130 | 1 # SliTaz package receipt. |
al@14130 | 2 |
al@14130 | 3 PACKAGE="libxfconf" |
Hans-G?nter@23122 | 4 VERSION="4.14.1" |
al@14130 | 5 CATEGORY="development" |
Hans-G?nter@21343 | 6 SHORT_DESC="Client library for Xfce4 configure interface." |
al@14130 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14718 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://www.xfce.org/" |
Hans-G?nter@21343 | 10 |
Hans-G?nter@23122 | 11 SOURCE="xfconf" |
Hans-G?nter@23123 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@24972 | 13 WGET_URL="https://archive.xfce.org/src/xfce/$SOURCE/${VERSION%.*}/$TARBALL" |
al@14130 | 14 |
al@14130 | 15 DEPENDS="dbus-glib libxfce4util" |
al@14130 | 16 BUILD_DEPENDS="dbus-glib-dev libxfce4util-dev" |
al@14130 | 17 |
pascal@24415 | 18 # What is the latest version available today? |
pascal@24415 | 19 current_version() |
pascal@24415 | 20 { |
pascal@24415 | 21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 24 } |
pascal@24415 | 25 |
al@14130 | 26 # Rules to configure and make the package. |
al@14130 | 27 compile_rules() |
al@14130 | 28 { |
Hans-G?nter@21343 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21343 | 30 make -j 1 && |
Hans-G?nter@21343 | 31 make install |
al@14130 | 32 } |
al@14130 | 33 |
al@14130 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14130 | 35 genpkg_rules() |
al@14130 | 36 { |
Hans-G?nter@21343 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21343 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@21343 | 39 |
Hans-G?nter@21343 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21343 | 41 cp -a $install/usr/lib/xfce4 $fs/usr/lib |
Hans-G?nter@21343 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21343 | 43 cp -a $install/usr/share/dbus-1 $fs/usr/share |
al@14130 | 44 } |