wok view xar/receipt @ rev 24958
updated nbd (3.20 -> 3.24)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:50:32 2022 +0100 (2022-04-23) |
parents | 211f545ad84b |
children | bff339676249 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xar"
4 VERSION="1.6.1"
5 CATEGORY="utilities"
6 SHORT_DESC="eXtensible ARchiver."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://mackyle.github.io/xar/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/downloads/mackyle/xar/$TARBALL"
14 DEPENDS="acl attr bzlib glibc-base libcrypto liblzma libxml2 zlib"
15 BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev"
17 current_version()
18 {
19 wget -O - https://github.com/mackyle/xar/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/xar-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 mkdir -p $fs/usr/share/mime/packages
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }