wok annotate libxdg-basedir/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents ac8ca9758df1
children
rev   line source
mallory@3305 1 # SliTaz package receipt.
mallory@3305 2
mallory@3305 3 PACKAGE="libxdg-basedir"
Hans-G?nter@24851 4 VERSION="1.2.3"
mallory@3305 5 CATEGORY="development"
pankso@16441 6 SHORT_DESC="Implements functions for the XDG Base Directory specification."
mallory@3305 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15482 8 LICENSE="MIT"
Hans-G?nter@24851 9 WEB_SITE="https://github.com/devnev/libxdg-basedir"
Hans-G?nter@24851 10
mallory@3305 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16441 12 WGET_URL="https://github.com/devnev/$PACKAGE/archive/$TARBALL"
Hans-G?nter@24851 13
Hans-G?nter@24851 14 BUILD_DEPENDS="autoconf automake libtool"
Hans-G?nter@24851 15
pankso@16441 16 #HOST_ARCH="i486 arm"
mallory@3305 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24299 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/libxdg-basedir-\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
mallory@3305 24 # Rules to configure and make the package.
mallory@3305 25 compile_rules()
mallory@3305 26 {
pankso@16441 27 unset CFLAGS
Hans-G?nter@24851 28 ./autogen.sh &&
Hans-G?nter@24851 29 ./configure \
Hans-G?nter@24851 30 --prefix=/usr \
pankso@16441 31 $CONFIGURE_ARGS &&
Hans-G?nter@24851 32 make &&
Hans-G?nter@24851 33 make install
mallory@3305 34 }
mallory@3305 35
mallory@3305 36 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3305 37 genpkg_rules()
mallory@3305 38 {
Hans-G?nter@24851 39 cook_copy_files *.so*
mallory@3305 40 }