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