# ChangeLog for app-arch/freeze
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/ChangeLog,v 1.14 2005/11/13 03:51:26 weeve Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/ChangeLog,v 1.15 2006/12/04 22:35:10 masterdriverz Exp $
+
+ 04 Dec 2006; Charlie Shepherd <masterdriverz@gentoo.org>
+ freeze-2.5.0.ebuild:
+ Stop Makefile stripping files, thanks to Jakub for the patch, bug 152224
13 Nov 2005; Jason Wever <weeve@gentoo.org> freeze-2.5.0.ebuild:
Stable on SPARC.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 15d7c40203caf4ffb50e28b6ca73b3bb ChangeLog 1395
-MD5 be8cdc70d8fc9904b2452458e271aef3 files/digest-freeze-2.5.0 63
-MD5 cd99338ccaa4e99c2dad383d66279d0e freeze-2.5.0.ebuild 1008
+DIST freeze-2.5.0.tar.gz 36010 RMD160 c3c161c4214a0f3774f96f3df19e8dbcbb969403 SHA1 715a605c58dd3f06dc82c4217d6aebaa113d0cbf SHA256 f543eb18bd7de8893a3c0bac0e4fa5fea46a4e10f5d8182cebc40c97b8593863
+EBUILD freeze-2.5.0.ebuild 1159 RMD160 27acae479ea7abf9b5ec460778af10a9e7257022 SHA1 ef56117cc0d544c0562aad82aea4ed9f361aec9e SHA256 99043d1fe5983be5f3c3ec2670953e110fde67746ed57efce6eb07a1ec1f4d5d
+MD5 80391f371a65e5feb51c0d1ce94630b1 freeze-2.5.0.ebuild 1159
+RMD160 27acae479ea7abf9b5ec460778af10a9e7257022 freeze-2.5.0.ebuild 1159
+SHA256 99043d1fe5983be5f3c3ec2670953e110fde67746ed57efce6eb07a1ec1f4d5d freeze-2.5.0.ebuild 1159
+MISC ChangeLog 1561 RMD160 30a332cedd0205285ac29300ec9ef65c4533c176 SHA1 972d5f23de4586beeaa3b9abf2c7d49c474fbaa3 SHA256 c2b28b3f0d8dcb28bf64ec48b98c87582204613183443a97830fd3e197b51fe9
+MD5 f091e98d5b06c68f91c7eef0f92a511d ChangeLog 1561
+RMD160 30a332cedd0205285ac29300ec9ef65c4533c176 ChangeLog 1561
+SHA256 c2b28b3f0d8dcb28bf64ec48b98c87582204613183443a97830fd3e197b51fe9 ChangeLog 1561
+MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDwWfuV3J2n04EauwRApsuAJ0UmLB16I0UT98rdEf72bioWEGGWACgg1p5
-ybk3JUkYv+fC0Y8hXqKFDkQ=
-=PB3H
------END PGP SIGNATURE-----
+RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160
+SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160
+MD5 93e7eeda2a4022c3e375a08b7a65bbbc files/digest-freeze-2.5.0 235
+RMD160 e4c4af0cb4dd7a71b568fd083108ad00af76c7ce files/digest-freeze-2.5.0 235
+SHA256 2903b04daf64c007a5b942254d4c5b2fbba103acb8783c8097707948e9ea3e09 files/digest-freeze-2.5.0 235
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0.ebuild,v 1.16 2005/11/29 02:57:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0.ebuild,v 1.17 2006/12/04 22:35:10 masterdriverz Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Freeze/unfreeze compression program"
HOMEPAGE="http://www.ibiblio.org/pub/Linux/utils/compress/"
KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86"
IUSE=""
-RDEPEND="virtual/libc"
+RDEPEND=""
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
cd ${S}
# Hard links confuse prepman and these links are absolute.
- sed -e "s:ln -f:ln -sf:g" -i Makefile.in || die "sed failed"
+ # Fix pre-stripped binary and respect CFLAGS as well
+ sed -i -e 's:ln -f:ln -sf:g' \
+ -e 's:-strip $@::g' \
+ -e '/^CFLAGS/s:=.*:+= -I.:' \
+ Makefile.in || die "sed failed"
}
src_compile() {
econf || die
emake \
+ CC=$(tc-getCC)
OPTIONS="-DDEFFILE=\\\"/etc/freeze.cnf\\\"" \
|| die "compile problem"
}