wok-current view xar/receipt @ rev 25185

mplayer: added dependency ffmpeg
author Hans-G?nter Theisgen
date Tue Jul 12 09:50:00 2022 +0100 (2022-07-12)
parents 211f545ad84b
children
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 }