PKGBUILDs/core/libarchive/PKGBUILD

26 lines
672 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
2009-09-26 16:30:17 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=libarchive
pkgver=2.7.0
pkgrel=1
pkgdesc="Library that can create and read several streaming archive formats"
arch=(arm)
url="http://people.freebsd.org/~kientzle/libarchive/"
license=(BSD)
groups=(base)
depends=(zlib bzip2 acl)
source=(http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz)
2009-09-26 16:30:17 +00:00
md5sums=('a2103ca334037562ad327eb3aed54869')
2009-09-26 14:35:50 +00:00
options=(libtool)
build() {
cd "$srcdir/libarchive-$pkgver"
2009-09-26 16:30:17 +00:00
./configure --prefix=/opt
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR="$pkgdir" install || return 1
2009-09-26 16:30:17 +00:00
install -Dm644 COPYING "$pkgdir/opt/share/licenses/libarchive/COPYING"
2009-09-26 14:35:50 +00:00
}