wok-6.x view libxdg-basedir/receipt @ rev 24674
updated iptables and iptables-dev (1.8.4 -> 1.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 07:43:48 2022 +0100 (2022-03-12) |
parents | 5ea0ce1cecc0 |
children | 3931c7c2660c |
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*}/tags 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 }