wok view libarchive/receipt @ rev 6687
Up: libwebkit to 1.2.5. Added gobject-introspection-dev, tar, gettext, and webkit-r-dev to build depends. It needs libwebkit-1.0.la to compile itself. Tar is needed cause of --version is not in busybox tar.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 12 21:49:16 2010 +0000 (2010-10-12) |
parents | f30b360e4e96 |
children | f831ecb652a6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libarchive"
4 VERSION="2.8.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="C librairy and command line tool for reading archive."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="acl libcrypto liblzma bzlib zlib libxml2"
9 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev zlib-dev libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/libarchive/"
12 WGET_URL="http://libarchive.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|acl/libacl.h|libacl.h|' tar/bsdtar_platform.h
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }