wok-current annotate libxdg-basedir/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents 5ea0ce1cecc0
children 3931c7c2660c
rev   line source
mallory@3305 1 # SliTaz package receipt.
mallory@3305 2
mallory@3305 3 PACKAGE="libxdg-basedir"
pankso@16441 4 VERSION="1.2.0"
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"
mallory@3305 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16441 10 WEB_SITE="https://github.com/devnev/libxdg-basedir"
pankso@16441 11 WGET_URL="https://github.com/devnev/$PACKAGE/archive/$TARBALL"
pankso@16441 12 #HOST_ARCH="i486 arm"
mallory@3305 13
pascal@16444 14 BUILD_DEPENDS="wget autoconf automake libtool"
pascal@16444 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24299 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/libxdg-basedir-\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
mallory@3305 22 # Rules to configure and make the package.
mallory@3305 23 compile_rules()
mallory@3305 24 {
pankso@16441 25 unset CFLAGS
pankso@16441 26 ./autogen.sh \
mallory@3305 27 --prefix=/usr \
pankso@16441 28 $CONFIGURE_ARGS &&
pankso@10394 29 make && make install
mallory@3305 30 }
mallory@3305 31
mallory@3305 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3305 33 genpkg_rules()
mallory@3305 34 {
mallory@3305 35 mkdir -p $fs/usr/lib
pascal@15482 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
mallory@3305 37 }
mallory@3305 38