wok view libxdg-basedir/receipt @ rev 24161

updated memtester (4.3.0 -> 4.5.1)
author Hans-G?nter Theisgen
date Wed Dec 22 13:43:13 2021 +0100 (2021-12-22)
parents 3a9ec79012ba
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="libxdg-basedir"
4 VERSION="1.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Implements functions for the XDG Base Directory specification."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/devnev/libxdg-basedir"
11 WGET_URL="https://github.com/devnev/$PACKAGE/archive/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="wget autoconf automake libtool"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/libxdg-basedir-\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 unset CFLAGS
26 ./autogen.sh \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }