wok view xar/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents 39c37a760ab8
children ac8ca9758df1
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/releases 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 }