wok-current annotate xar/receipt @ rev 17259
Add xar.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 22 00:09:32 2014 +0300 (2014-10-22) |
parents | |
children | 6135577f4d08 |
rev | line source |
---|---|
al@17259 | 1 # SliTaz package receipt. |
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@17259 | 9 WEB_SITE="http://code.google.com/p/xar/" |
al@17259 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17259 | 11 WGET_URL="http://xar.googlecode.com/files/$TARBALL" |
al@17259 | 12 |
al@17259 | 13 DEPENDS="acl attr bzlib glibc-base libcrypto libxml2 zlib" |
al@17259 | 14 BUILD_DEPENDS="openssl-dev zlib-dev bzip2-dev" |
al@17259 | 15 |
al@17259 | 16 # Rules to configure and make the package. |
al@17259 | 17 compile_rules() |
al@17259 | 18 { |
al@17259 | 19 ./configure $CONFIGURE_ARGS && make && make install |
al@17259 | 20 } |
al@17259 | 21 |
al@17259 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17259 | 23 genpkg_rules() |
al@17259 | 24 { |
al@17259 | 25 mkdir -p $fs/usr/lib $fs/usr/share/mime/packages |
al@17259 | 26 cp -a $install/usr/bin $fs/usr |
al@17259 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@17259 | 28 } |