diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-11 06:17:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-11 06:17:53 +0000 |
commit | 300ca6a3e8879509b10055420b24a3073b4903af (patch) | |
tree | c941f9b1cdb932fc5c1670c4518b476c573ab5fa /app-text | |
parent | old (diff) | |
download | gentoo-2-300ca6a3e8879509b10055420b24a3073b4903af.tar.gz gentoo-2-300ca6a3e8879509b10055420b24a3073b4903af.tar.bz2 gentoo-2-300ca6a3e8879509b10055420b24a3073b4903af.zip |
Respect LDFLAGS/DESTDIR and dont strip while installing.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/hd2u/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/hd2u/files/digest-hd2u-1.0.0 | 2 | ||||
-rw-r--r-- | app-text/hd2u/files/hd2u-1.0.0-build.patch | 23 | ||||
-rw-r--r-- | app-text/hd2u/hd2u-1.0.0.ebuild | 16 |
4 files changed, 43 insertions, 6 deletions
diff --git a/app-text/hd2u/ChangeLog b/app-text/hd2u/ChangeLog index 9bd5ba5291a4..5a69d27225b6 100644 --- a/app-text/hd2u/ChangeLog +++ b/app-text/hd2u/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/hd2u -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/ChangeLog,v 1.34 2006/02/06 19:35:22 blubb Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/ChangeLog,v 1.35 2006/07/11 06:17:53 vapier Exp $ + + 11 Jul 2006; Mike Frysinger <vapier@gentoo.org> + +files/hd2u-1.0.0-build.patch, hd2u-1.0.0.ebuild: + Respect LDFLAGS/DESTDIR and dont strip while installing. 06 Feb 2006; Simon Stelling <blubb@gentoo.org> hd2u-1.0.0.ebuild: stable on amd64 diff --git a/app-text/hd2u/files/digest-hd2u-1.0.0 b/app-text/hd2u/files/digest-hd2u-1.0.0 index 82d5abaca618..308967e42e72 100644 --- a/app-text/hd2u/files/digest-hd2u-1.0.0 +++ b/app-text/hd2u/files/digest-hd2u-1.0.0 @@ -1 +1,3 @@ MD5 21249099fbb04b98e30e35d6a89061dd hd2u-1.0.0.tgz 54461 +RMD160 7df603d51e65f6846b9f4b61245e1616274138af hd2u-1.0.0.tgz 54461 +SHA256 8bd8fa17600399fc9c684c644946c8699fb7235a030bfd1e8e0a8ecd31bc3ca7 hd2u-1.0.0.tgz 54461 diff --git a/app-text/hd2u/files/hd2u-1.0.0-build.patch b/app-text/hd2u/files/hd2u-1.0.0-build.patch new file mode 100644 index 000000000000..a88f210e71a7 --- /dev/null +++ b/app-text/hd2u/files/hd2u-1.0.0-build.patch @@ -0,0 +1,23 @@ +--- Makefile.in ++++ Makefile.in +@@ -31,7 +31,7 @@ + README \ + TODO + INSTALL = @INSTALL@ +-LIBS= @LIBS@ ++LIBS= @LIBS@ @LDFLAGS@ + + all: $(TARGET) + +@@ -59,9 +59,10 @@ + mrproper: cleanall + distclean: cleanall + ++BUILD_ROOT = $(DESTDIR) + install: + $(INSTALL) -d -m 755 $(BUILD_ROOT)$(BIN_DIR) +- $(INSTALL) -m 755 -s $(TARGET) $(BUILD_ROOT)$(BIN_DIR) ++ $(INSTALL) -m 755 $(TARGET) $(BUILD_ROOT)$(BIN_DIR) + + tarball: + $(INSTALL) -d -m 755 ./$(PACKAGE_NAME)-$(PACKAGE_VERSION) diff --git a/app-text/hd2u/hd2u-1.0.0.ebuild b/app-text/hd2u/hd2u-1.0.0.ebuild index 053b9dafd98e..a4e4fdde206c 100644 --- a/app-text/hd2u/hd2u-1.0.0.ebuild +++ b/app-text/hd2u/hd2u-1.0.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/hd2u-1.0.0.ebuild,v 1.8 2006/02/06 19:35:22 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/hd2u-1.0.0.ebuild,v 1.9 2006/07/11 06:17:53 vapier Exp $ + +inherit eutils DESCRIPTION="Dos2Unix text file converter" HOMEPAGE="http://www.megaloman.com/~hany/software/hd2u/" @@ -11,10 +13,16 @@ SLOT="0" LICENSE="GPL-2" IUSE="" -RDEPEND="!app-text/dos2unix +DEPEND="!app-text/dos2unix dev-libs/popt" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + src_install() { - einstall || die "make install failed" - dodoc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO + emake install DESTDIR="${D}" || die "make install failed" + dodoc AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO } |