diff options
author | MATSUU Takuto <matsuu@gentoo.org> | 2009-02-06 00:26:29 +0900 |
---|---|---|
committer | MATSUU Takuto <matsuu@gentoo.org> | 2009-02-06 00:26:29 +0900 |
commit | d58e00ff8242744a4f3deb00b37b661c535f44f0 (patch) | |
tree | cdee79aec22d11e8038f8693832d2b1762821f70 /app-misc | |
parent | sci-physics: fixed dependency. (diff) | |
download | matsuu-d58e00ff8242744a4f3deb00b37b661c535f44f0.tar.gz matsuu-d58e00ff8242744a4f3deb00b37b661c535f44f0.tar.bz2 matsuu-d58e00ff8242744a4f3deb00b37b661c535f44f0.zip |
app-misc/dvtm: version bumped.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/dvtm/Manifest | 2 | ||||
-rw-r--r-- | app-misc/dvtm/dvtm-0.5.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/dvtm/Manifest b/app-misc/dvtm/Manifest index d52cfe2..df99746 100644 --- a/app-misc/dvtm/Manifest +++ b/app-misc/dvtm/Manifest @@ -1,2 +1,4 @@ DIST dvtm-0.4.1.tar.gz 21729 RMD160 bfaf0869c74bf180da1e13ba35a87c68844799a5 SHA1 44e032d6f4334ce0dfe92cc0121c6cb46d2d95bb SHA256 f5dc75a5e94811885590d4167541bd3b7fd23530a576c204b95104514b5c173a +DIST dvtm-0.5.tar.gz 26380 RMD160 9f966000e69dc44846452a682c48f7c23eee2ce7 SHA1 050c605d253afd87fc763e960b5b0b58dd24c9ee SHA256 df0d41159f0bcc666ebe4887324cebbd8e909f8fe24253a83d44c434812c587d EBUILD dvtm-0.4.1.ebuild 1324 RMD160 2b01ef05fe8a97e53adef9fb6b6e2eee9c3d1897 SHA1 96c948446a5d3033e8e206bd92efed077a20f8d2 SHA256 b2195e9dfa6a63537212bb3bd7e06c63053755e0afbd46a9eafcb539205fb517 +EBUILD dvtm-0.5.ebuild 1324 RMD160 2b01ef05fe8a97e53adef9fb6b6e2eee9c3d1897 SHA1 96c948446a5d3033e8e206bd92efed077a20f8d2 SHA256 b2195e9dfa6a63537212bb3bd7e06c63053755e0afbd46a9eafcb539205fb517 diff --git a/app-misc/dvtm/dvtm-0.5.ebuild b/app-misc/dvtm/dvtm-0.5.ebuild new file mode 100644 index 0000000..5e39caa --- /dev/null +++ b/app-misc/dvtm/dvtm-0.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +inherit eutils multilib savedconfig toolchain-funcs + +DESCRIPTION="Dynamic virtual terminal manager" +HOMEPAGE="http://www.brain-dump.org/projects/dvtm/" +SRC_URI="http://www.brain-dump.org/projects/dvtm/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="unicode" + +DEPEND="sys-libs/ncurses[opt?]" + +src_prepare() { + sed -i \ + -e "/^PREFIX/s|=.*|= /usr|" \ + -e "s|-I/usr/local/include||" \ + -e "s|-L/usr/local/lib||" \ + -e "s|-L/usr/lib|-L/usr/$(get_libdir)|" \ + -e "s|-Os||" \ + -e "/^CC/s|=.*|= $(tc-getCC)|" \ + config.mk || die "sed config.mk failed" + + # make unicode broken + use unicode && sed -i \ + -e "s|\${LIBS}|\${LIBS_UTF8}|" \ + -e "/-DNDEBUG/s|$| -DUSE_UTF8|" \ + config.mk + sed -i -e '/strip/d' Makefile || die "sed Makefile failed" + + use savedconfig && restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + insinto /usr/share/${PN} + newins config.h ${PF}.config.h + + dodoc README + + save_config config.h +} + +pkg_postinst() { + elog "This ebuild has support for user defined configs" + elog "Please read this ebuild for more details and re-emerge as needed" + elog "if you want to add or remove functionality for ${PN}" +} |