summaryrefslogtreecommitdiffstats
path: root/libarchive/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 05:04:40 +0100
committerLukc <lukc@upyum.com>2010-12-12 05:04:40 +0100
commit00ada8aaf1d9df9988cabc29edd5b6485831fd7b (patch)
treeb5966c7a667f6cfc81e69a38b98890e4b8b6cc44 /libarchive/Pkgfile
parent847b9c4a67d848fd89aef95811a163017f574d2d (diff)
downloadbase-00ada8aaf1d9df9988cabc29edd5b6485831fd7b.tar.gz
base-00ada8aaf1d9df9988cabc29edd5b6485831fd7b.tar.bz2
base-00ada8aaf1d9df9988cabc29edd5b6485831fd7b.tar.xz
base-00ada8aaf1d9df9988cabc29edd5b6485831fd7b.zip
Recette de libarchive mise à jour.
Diffstat (limited to 'libarchive/Pkgfile')
-rw-r--r--libarchive/Pkgfile26
1 files changed, 17 insertions, 9 deletions
diff --git a/libarchive/Pkgfile b/libarchive/Pkgfile
index cdde830..4102bac 100644
--- a/libarchive/Pkgfile
+++ b/libarchive/Pkgfile
@@ -1,17 +1,25 @@
-description="Library to create and read several archive formats"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
-url="http://people.freebsd.org/~kientzle/libarchive/"
+description="Library to create and read several archive formats."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://code.google.com/p/libarchive/"
depends=(bzip2 xz zlib acl)
name=libarchive
version=2.8.4
release=1
-source=(http://libarchive.googlecode.com/files/libarchive-2.8.4.tar.gz)
+source=(http://libarchive.googlecode.com/files/$name-$version.tar.gz)
build ()
{
- cd libarchive-$version;
- ./configure --prefix=/usr --mandir=/usr/man --without-lzmadec --without-xml2 --without-expat --without-openssl;
- make;
- make DESTDIR=$PKG install
+ cd libarchive-$version;
+ ./configure \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ --without-lzmadec \
+ --without-xml2 \
+ --without-expat \
+ --without-openssl;
+ make;
+ make DESTDIR=$PKG install
+ ln -sf bsdtar $PKG$bindir/tar
+ ln -sf bsdcpio $PKG$bindir/cpio
}