wok-next annotate xar/receipt @ rev 19932
xfce4-session: update bdeps, wbar2: add CXXFLAGS, libsmpeg: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 11:37:03 2017 +0200 (2017-10-15) |
parents | 5d1b0ab9a299 |
children | e6615350078d |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
al@17259 | 2 |
al@17259 | 3 PACKAGE="xar" |
al@17259 | 4 VERSION="1.5.2" |
al@17259 | 5 CATEGORY="utilities" |
al@17259 | 6 SHORT_DESC="eXtensible ARchiver" |
al@17259 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17259 | 8 LICENSE="BSD" |
al@19741 | 9 WEB_SITE="https://code.google.com/archive/p/xar/" |
al@19741 | 10 |
al@17259 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xar/$TARBALL" |
al@17259 | 13 |
al@19741 | 14 BUILD_DEPENDS="libxml2-dev openssl-dev zlib-dev bzip2-dev" |
al@19741 | 15 SPLIT="xar-dev" |
al@17259 | 16 |
al@17259 | 17 # Rules to configure and make the package. |
al@17259 | 18 compile_rules() |
al@17259 | 19 { |
al@17259 | 20 ./configure $CONFIGURE_ARGS && make && make install |
al@17259 | 21 } |
al@17259 | 22 |
al@17259 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17259 | 24 genpkg_rules() |
al@17259 | 25 { |
al@19741 | 26 case $PACKAGE in |
al@19741 | 27 xar) |
al@19741 | 28 copy @std |
al@19741 | 29 DEPENDS="acl attr bzlib glibc-base libcrypto libxml2 zlib" |
al@19741 | 30 ;; |
al@19741 | 31 *-dev) copy @dev;; |
al@19741 | 32 esac |
al@17259 | 33 } |