From 00ada8aaf1d9df9988cabc29edd5b6485831fd7b Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 05:04:40 +0100 Subject: Recette de libarchive mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libarchive/.sha256sum | 1 + libarchive/Pkgfile | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 libarchive/.sha256sum diff --git a/libarchive/.sha256sum b/libarchive/.sha256sum new file mode 100644 index 0000000..fa54e23 --- /dev/null +++ b/libarchive/.sha256sum @@ -0,0 +1 @@ +86cffa3eaa28d3116f5d0b20284026c3762cf4a2b52b9844df2b494d4a89f688 libarchive-2.8.4.tar.gz 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 " +maintainer="Lukc " +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 } -- cgit v1.2.3-70-g09d2