mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
removed core/zlib
This commit is contained in:
parent
fa0351629b
commit
2ded5bb318
1 changed files with 0 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
||||||
# $Id: PKGBUILD 148443 2012-01-31 23:47:54Z pierre $
|
|
||||||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
||||||
# - added --shared to configure
|
|
||||||
|
|
||||||
pkgname=zlib
|
|
||||||
pkgver=1.2.8
|
|
||||||
pkgrel=4
|
|
||||||
pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
license=('custom')
|
|
||||||
url="http://www.zlib.net/"
|
|
||||||
depends=('glibc')
|
|
||||||
options=('staticlibs') # needed by binutils testsuite
|
|
||||||
source=("http://zlib.net/current/zlib-${pkgver}.tar.gz")
|
|
||||||
md5sums=('44d667c142d7cda120332623eab69f40')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd ${srcdir}/zlib-$pkgver
|
|
||||||
grep -A 24 '^ Copyright' zlib.h > LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd ${srcdir}/zlib-$pkgver
|
|
||||||
./configure --prefix=/usr --shared
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd ${srcdir}/zlib-$pkgver
|
|
||||||
make test
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd ${srcdir}/zlib-$pkgver
|
|
||||||
make install DESTDIR=${pkgdir}
|
|
||||||
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/zlib/LICENSE
|
|
||||||
}
|
|
Loading…
Reference in a new issue