diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/bzip2 | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/bzip2')
-rw-r--r-- | abs/core-testing/bzip2/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/abs/core-testing/bzip2/PKGBUILD b/abs/core-testing/bzip2/PKGBUILD new file mode 100644 index 0000000..bd3b1c2 --- /dev/null +++ b/abs/core-testing/bzip2/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 7561 2008-08-02 22:14:50Z jgc $ +# Maintainer: Judd <jvinet@zeroflux.org> + +pkgname=bzip2 +pkgver=1.0.5 +pkgrel=12 +pkgdesc="A high-quality data compression program" +arch=(i686 x86_64) +license=('custom') +url="http://sources.redhat.com/bzip2" +groups=('base') +depends=('glibc') +source=(http://www.bzip.org/$pkgver/bzip2-$pkgver.tar.gz) + +build() { + cd $startdir/src/$pkgname-$pkgver + mkdir -p $startdir/pkg/bin $startdir/pkg/usr/share/man/man1 + mkdir -p $startdir/pkg/usr/include $startdir/pkg/usr/lib + mkdir -p $startdir/pkg/lib + # add large-file support + sed -e 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' -i ./Makefile-libbz2_so + make -f Makefile-libbz2_so || return 1 + make bzip2recover libbz2.a || return 1 + ln -s libbz2.so.1.0.4 libbz2.so + ln -s libbz2.so.1.0.4 libbz2.so.1 + cp bzip2-shared $startdir/pkg/bin/bzip2 + cp bzip2recover $startdir/pkg/bin + cp bzip2.1 $startdir/pkg/usr/share/man/man1 + mkdir -p $startdir/pkg/usr/include + cp bzlib.h $startdir/pkg/usr/include + cp -a libbz2.so* $startdir/pkg/lib + rm -f $startdir/pkg/usr/lib/libbz2.a + cp libbz2.a $startdir/pkg/usr/lib + cd $startdir/pkg/usr/lib + ln -sf ../../lib/libbz2.so + cd $startdir/pkg/bin + ln -sf bzip2 bunzip2 + ln -sf bzip2 bzcat + cd $startdir/pkg/usr/share/man/man1 + ln -sf bzip2.1 bunzip2.1 + ln -sf bzip2.1 bzcat.1 + ln -sf bzip2.1 bzip2recover.1 + + mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname} + install -m644 ${startdir}/src/${pkgname}-${pkgver}/LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE +} +md5sums=('3c15a0c8d1d3ee1c46a1634d00617b1a') |