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