diff options
author | Michał Górny <mgorny@gentoo.org> | 2010-07-06 23:20:59 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2010-07-06 23:20:59 +0000 |
commit | 1ba93c02b750ebdb8439a6f1f20e0ec687eef6f7 (patch) | |
tree | 8092282921250031362eb2aa2428e0844fb943e6 /sys-apps | |
parent | sys-apps/fspy: Use Google Code SRC_URI as the original does not work anymore.... (diff) | |
download | sunrise-1ba93c02b750ebdb8439a6f1f20e0ec687eef6f7.tar.gz sunrise-1ba93c02b750ebdb8439a6f1f20e0ec687eef6f7.tar.bz2 sunrise-1ba93c02b750ebdb8439a6f1f20e0ec687eef6f7.zip |
sys-apps/daemonize: Update HOMEPAGE & SRC_URI. Cleanup. Use LDFLAGS for linking.
svn path=/sunrise/; revision=10939
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/daemonize/ChangeLog | 4 | ||||
-rw-r--r-- | sys-apps/daemonize/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/daemonize/daemonize-1.6.ebuild | 24 |
3 files changed, 26 insertions, 8 deletions
diff --git a/sys-apps/daemonize/ChangeLog b/sys-apps/daemonize/ChangeLog index 84d8e0d59..2af159627 100644 --- a/sys-apps/daemonize/ChangeLog +++ b/sys-apps/daemonize/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 06 Jul 2010; Michał Górny (sedzimir) <mgorny.3ehbo@mailnull.com> + daemonize-1.6.ebuild: + Update HOMEPAGE & SRC_URI. Cleanup. Use LDFLAGS for linking. + 04 Mar 2010; Angelo D'Autilia (sYdRo) <sydro@salug.it> -daemonize-1.5.6.ebuild, +daemonize-1.6.ebuild: Version bump to daemonize-1.6 diff --git a/sys-apps/daemonize/Manifest b/sys-apps/daemonize/Manifest index 1d372da77..9b2c98d5f 100644 --- a/sys-apps/daemonize/Manifest +++ b/sys-apps/daemonize/Manifest @@ -1,4 +1,4 @@ -DIST daemonize-1.6.tar.gz 72242 RMD160 801f2e4a8673b4b71975a3542849cf3a55d4b59f SHA1 09f605a43e8ef9d62733c2b929da7c4b85f35e3a SHA256 7d70168ad0345834cb1c5f0e115469f11deaffbc05afcb01844dd41e17511e9e -EBUILD daemonize-1.6.ebuild 441 RMD160 97ee2216a82d3f3675e37f979954081625c8eaa8 SHA1 83cb8e9dab2ea06be59d4666edf15a126f6d28de SHA256 8f155a6745c5202c736f6ba47def09eca056c8b27f088dde252c3fb20237d5f7 -MISC ChangeLog 674 RMD160 ed3efb2636713f70b673241fc6d2f507f7820bcd SHA1 412948be9271502a3927f0d6f9a618a632baff40 SHA256 c56e43d77cf5d5fdfbd0487485212c0f137bcccf628dd0922fdee5f0c9a540db +DIST daemonize-1.6.tar.gz 61803 RMD160 b1af4f5419e00d6c02f465475d7713827e530a96 SHA1 e89049368a1a4f08ef7bcd801b719ce026ba6a1c SHA256 e70ad94bd2f4d24ebfcbceaf009ab5ac1ac5ceb5acca4bb9d3d9105cdc1cd681 +EBUILD daemonize-1.6.ebuild 664 RMD160 7208d2b3807fefd5577a789d09c724965e4641a1 SHA1 dd42a9cddecb0135efcffd73ba2b2fd03bb6b7cb SHA256 a019d6dc8d20d43f6ebd5e497e57e057180c047ab8ad2eb902c8d85efa4d99a5 +MISC ChangeLog 831 RMD160 9315b592595b53f67d025f26a184d38c060626a3 SHA1 ead4d4b6d26230fcd0fa05323acf12aadf9816c0 SHA256 39c4c85aa6fd25e5c425f58bf7003f7bb4150b508ba18b4e2b3088c565325b17 MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/sys-apps/daemonize/daemonize-1.6.ebuild b/sys-apps/daemonize/daemonize-1.6.ebuild index 95a3d8162..3e84ea785 100644 --- a/sys-apps/daemonize/daemonize-1.6.ebuild +++ b/sys-apps/daemonize/daemonize-1.6.ebuild @@ -2,16 +2,30 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -DESCRIPTION="Runs a command as a Unix daemon" -HOMEPAGE="http://www.clapper.org/software/daemonize/" -SRC_URI="http://www.clapper.org/software/${PN}/${P}.tar.gz" +EAPI=2 + +DESCRIPTION="Runs a command as an Unix daemon" +HOMEPAGE="http://bmc.github.com/daemonize/" +SRC_URI="http://github.com/bmc/${PN}/tarball/release-${PV} -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +src_unpack() { + unpack ${A} + # Workaround commit suffix from github. + mv "${WORKDIR}"/bmc-${PN}-* "${S}" || die +} + +src_prepare() { + sed -i \ + -e 's:\($(CC)\) $(CFLAGS) \(.*\.o\):\1 $(LDFLAGS) \2:' \ + Makefile.in || die +} + src_install() { - dobin "${S}"/${PN} || die "dobin failed" - doman "${S}"/${PN}.1 || die "doman failed" + emake DESTDIR="${D}" install || die + dodoc README.md CHANGELOG || die } |