diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-06-14 00:03:27 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-06-14 00:03:27 +0000 |
commit | f1cee00a9339c461986e127cd2d022f275397a59 (patch) | |
tree | 92a975d59b56feb6f93ac0997cca406015358654 /sys-apps/renameutils | |
parent | void driver must be at least 1.1.1. (diff) | |
download | historical-f1cee00a9339c461986e127cd2d022f275397a59.tar.gz historical-f1cee00a9339c461986e127cd2d022f275397a59.tar.bz2 historical-f1cee00a9339c461986e127cd2d022f275397a59.zip |
add patch to honor DESTDIR. Thanks to pavelo@centrum.sk for providing fix, bug #215954
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-apps/renameutils')
-rw-r--r-- | sys-apps/renameutils/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/renameutils/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch | 29 | ||||
-rw-r--r-- | sys-apps/renameutils/renameutils-0.9.0.ebuild | 12 |
4 files changed, 49 insertions, 6 deletions
diff --git a/sys-apps/renameutils/ChangeLog b/sys-apps/renameutils/ChangeLog index 397f5f1b2ee3..eb1deaa4da84 100644 --- a/sys-apps/renameutils/ChangeLog +++ b/sys-apps/renameutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/renameutils -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/renameutils/ChangeLog,v 1.7 2007/12/11 08:41:48 vapier Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/renameutils/ChangeLog,v 1.8 2008/06/14 00:03:27 darkside Exp $ + + 14 Jun 2008; Jeremy Olexa <darkside@gentoo.org> + +files/renameutils-0.9.0-destdir.patch, renameutils-0.9.0.ebuild: + add patch to honor DESTDIR. Thanks to pavelo@centrum.sk for providing fix, + bug #215954 *renameutils-0.9.0 (11 Dec 2007) diff --git a/sys-apps/renameutils/Manifest b/sys-apps/renameutils/Manifest index d905d461ebd0..80780d60e44b 100644 --- a/sys-apps/renameutils/Manifest +++ b/sys-apps/renameutils/Manifest @@ -1,7 +1,8 @@ AUX renameutils-0.8.1-build.patch 1832 RMD160 3878d358202f48d964f6b9517fb77aa3d306e417 SHA1 f2ff35b5719cd21426b5eaa7224a2daae91b73fc SHA256 b02e50e74c6c839e39bf689e815c7cd63783ca1ccc2a0c53f6a0647643f77a7a +AUX renameutils-0.9.0-destdir.patch 2318 RMD160 6d9eba993d1ec57ee59921ee927daf188c60123d SHA1 caef222959bd03fd54ed5dac425c98ce0d6b8162 SHA256 8170123c121723a1f5f10a876f55421d8491ba80d979f565af23269037d242f0 DIST renameutils-0.8.1.tar.gz 445694 RMD160 8c600fe3c876f4fd000f22f294b5fcbbef495bc9 SHA1 951d14d46a9aa51475870837f916de285a8b8c1b SHA256 da28793e3f0c34e730ee1b09aba048250d7c6f54bdbf86e53655ec5250964562 DIST renameutils-0.9.0.tar.gz 546655 RMD160 4c5c1b2f30a7faf839c0a6e58ad14962f593c071 SHA1 f4a4d39798ad2039c2df8f990c25975229655aa2 SHA256 8e2b4116b78ed727bc299c70d72f2a8c47da60dc3425e7a7816995c3204c4e73 EBUILD renameutils-0.8.1.ebuild 835 RMD160 f070c67a7da091f1ececa79f8b93eb60d57f86dc SHA1 fa851883f5c0698af131dbe03ee301ef83220c9f SHA256 51b8ff12d87a114186706643d226fcd8f9ff0fffadd0216cfec64a7f446bf86c -EBUILD renameutils-0.9.0.ebuild 701 RMD160 0e909dd3c66b22de147d4f67867cbfa498760e38 SHA1 fe61220aa8e65ec359435733822ecf8c2fc01727 SHA256 8fd1921b3db062d11c0fdec8f1670facbaee72a84646a4c8df2895692559b428 -MISC ChangeLog 1087 RMD160 f0e5ab24600b4e21b99f7d5a8b86ac8e5d4ef81e SHA1 a0353a09ab8d5cf0ae2545a6c955d00b4dda002c SHA256 8bc70afa28b9062aabb006e17394c05b0bff77bb932a9c577e6cba728da41c78 +EBUILD renameutils-0.9.0.ebuild 802 RMD160 0c51d68f5ea8eef0f9e3c63f88bb5e393786974c SHA1 8fed2d442724a5d70cb685595b4691f072e63eb9 SHA256 8aaaee51114ab8e87b3a7eb3161f2e70e561bfae404a9e5ef806a7bc1df8f6fc +MISC ChangeLog 1299 RMD160 8db9be887210a554cf109e26cf4346e9c6705dcf SHA1 5fdd9bf5ff02bbb63493aef54131fccadd01f56c SHA256 22da28ead080e9bd26d3a2b50855962ccb84eebb3e70e868597f829720a76148 MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a diff --git a/sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch b/sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch new file mode 100644 index 000000000000..44d7304ac5c3 --- /dev/null +++ b/sys-apps/renameutils/files/renameutils-0.9.0-destdir.patch @@ -0,0 +1,29 @@ +--- src/Makefile.am-orig 2008-04-02 23:00:22.000000000 +0200 ++++ src/Makefile.am 2008-04-02 22:59:47.000000000 +0200 +@@ -46,17 +46,18 @@ + @[ -f icp ] || (echo $(LN_S) icmd icp ; $(LN_S) icmd icp) + + install-exec-local: +- @[ -f $(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv) +- @[ -f $(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp) +- @[ -f $(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv) +- @[ -f $(bindir)/icp ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/icp ; $(LN_S) icmd $(DESTDIR)$(bindir)/icp) ++ $(mkdir_p) $(DESTDIR)$(bindir) ++ @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv) ++ @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp) ++ @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv) ++ @[ -f $(DESTDIR)$(bindir)/icp ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/icp ; $(LN_S) icmd $(DESTDIR)$(bindir)/icp) + + install-data-local: + $(mkdir_p) $(DESTDIR)$(man1dir) +- @[ -f $(man1dir)/qmv.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1) +- @[ -f $(man1dir)/qcp.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1) +- @[ -f $(man1dir)/imv.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1) +- @[ -f $(man1dir)/icp.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1) ++ @[ -f $(DESTDIR)$(man1dir)/qmv.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qmv.1) ++ @[ -f $(DESTDIR)$(man1dir)/qcp.1 ] || (echo $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1 ; $(LN_S) qcmd.1 $(DESTDIR)$(man1dir)/qcp.1) ++ @[ -f $(DESTDIR)$(man1dir)/imv.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/imv.1) ++ @[ -f $(DESTDIR)$(man1dir)/icp.1 ] || (echo $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1 ; $(LN_S) icmd.1 $(DESTDIR)$(man1dir)/icp.1) + + clean-local: + rm -f qmv qcp imv icp qmv.1 qcp.1 imv.1 icp.1 diff --git a/sys-apps/renameutils/renameutils-0.9.0.ebuild b/sys-apps/renameutils/renameutils-0.9.0.ebuild index ad0b11bf540a..9fdc09166b73 100644 --- a/sys-apps/renameutils/renameutils-0.9.0.ebuild +++ b/sys-apps/renameutils/renameutils-0.9.0.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/renameutils/renameutils-0.9.0.ebuild,v 1.1 2007/12/11 08:41:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/renameutils/renameutils-0.9.0.ebuild,v 1.2 2008/06/14 00:03:27 darkside Exp $ + +inherit eutils DESCRIPTION="Use your favorite text editor to rename files" HOMEPAGE="http://www.nongnu.org/renameutils/" @@ -13,6 +15,12 @@ IUSE="nls" DEPEND=">=sys-libs/readline-5.0-r2" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-destdir.patch" +} + src_compile() { econf $(use_enable nls) || die emake || die "emake failed" |