summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-02 17:10:30 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-02 17:10:30 +0000
commitab9cdd91d48875135409fb078723737951cd9a10 (patch)
treef401ca860c7bf724ebd005e0c3d891b82c7a7567 /sys-apps/bzip2
parent*** empty log message *** (diff)
downloadgentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.tar.gz
gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.tar.bz2
gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.zip
*** empty log message ***
Diffstat (limited to 'sys-apps/bzip2')
-rw-r--r--sys-apps/bzip2/bzip2-1.0.0-r1.ebuild41
-rw-r--r--sys-apps/bzip2/files/digest1
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/bzip2/bzip2-1.0.0-r1.ebuild b/sys-apps/bzip2/bzip2-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..580f3800fe4d
--- /dev/null
+++ b/sys-apps/bzip2/bzip2-1.0.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/bzip2/bzip2-1.0.0-r1.ebuild,v 1.1 2000/08/02 17:07:12 achim Exp $
+
+P=bzip2-1.0.0
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="sys-apps"
+DESCRIPTION="A high-quality data compressor used extensively by Enoch"
+SRC_URI="ftp://sourceware.cygnus.com/pub/bzip2/v100/$A"
+HOMEPAGE="http://sourceware.cygnus.com/bzip2/"
+
+src_unpack() {
+ unpack ${A}
+ # bzip2's makefile does not use CFLAGS so we hard-wire the compile
+ # options using sed ;)
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile
+ cp Makefile-libbz2_so Makefile-libbz2.orig
+ sed -e "s/-O2/${CFLAGS}/" Makefile-libbz2.orig > Makefile-libbz2_so
+}
+
+src_compile() {
+ make -f Makefile-libbz2_so $MAKEOPTS "MAKE = make $MAKEOPTS" all
+ make $MAKEOPTS "MAKE = make $MAKEOPTS" all
+}
+src_install() {
+ dodoc README LICENSE CHANGES manual.ps
+ docinto html
+ dodoc manual_*.html
+ make PREFIX=${D}/usr install
+ strip ${D}/usr/bin/*
+ into /usr
+ dolib.so libbz2.so.1.0.0
+ dosym /usr/lib/libbz2.so.1.0.0 /usr/lib/libbz2.so.1.0
+ gzip -9 ${D}/usr/man/man1/*
+}
+
+
diff --git a/sys-apps/bzip2/files/digest b/sys-apps/bzip2/files/digest
new file mode 100644
index 000000000000..59042401a53a
--- /dev/null
+++ b/sys-apps/bzip2/files/digest
@@ -0,0 +1 @@
+MD5 bb09685f8db0e8e588e29ecefb5a9851 bzip2-1.0.0.tar.gz