Version bump.
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Thu, 27 Oct 2011 01:10:54 +0000 (01:10 +0000)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Thu, 27 Oct 2011 01:10:54 +0000 (01:10 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

app-misc/dvtm/ChangeLog
app-misc/dvtm/Manifest
app-misc/dvtm/dvtm-0.7.ebuild [new file with mode: 0644]

index 8644938f4b77af62bb6c23fcf47ec5cdca15fd78..03832a17cc4b3bd8349433ecb8287ae4ac2022a3 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-misc/dvtm
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/ChangeLog,v 1.7 2011/06/02 12:15:00 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/ChangeLog,v 1.8 2011/10/27 01:10:54 chithanh Exp $
+
+*dvtm-0.7 (27 Oct 2011)
+
+  27 Oct 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +dvtm-0.7.ebuild:
+  Version bump.
 
   02 Jun 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
   -dvtm-0.5.2.ebuild:
index 94c2927bf2e0e662ef0d433fa1b513106adbafe6..a3d37cf417214efc6ce60da7f0a4cdac9f4bd62b 100644 (file)
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
 DIST dvtm-0.6.tar.gz 26542 RMD160 19201c82df18a4cccf45228aa056529c9f4a16c3 SHA1 5d5b5c7518ead9f08bae28c081bf2abbb4472933 SHA256 9610922c20678ca96cd2d9bfde8f97bbc2a7bd5e536d5015c56df812468a0481
+DIST dvtm-0.7.tar.gz 26501 RMD160 64a3a0213731b5694ddd5dfe0fac02c19160e5a0 SHA1 f37c57d5395de3fc47b8c05479c7c3c47c637948 SHA256 948ff2b1416161eb1091ff547ceb4467fd7cc1076101d608e22ba779ba6a6e20
 EBUILD dvtm-0.6.ebuild 1528 RMD160 cd09f20cb6a992d8383fbd01fc0a9ba9e6c36d93 SHA1 e3aa809b91a293af8f226a4a8ee606b559023362 SHA256 118f54b7140e73deb0d3de6d8b4ffac99fdb510170b93e6a26063bea09818fbd
-MISC ChangeLog 1009 RMD160 b05fe7118098860f7a665c214f89a7d4de1c4140 SHA1 340b00c013e5135470f70af50540b83aa3c16b2f SHA256 47fdd7e4b7b881e60eb1029f057d6e2501be54daa759e7a51c82741bda831fbc
+EBUILD dvtm-0.7.ebuild 1532 RMD160 b88e38e5f5aaae9e548cdc526d74fe888d55fa3f SHA1 2ed07aa35a33868d9220d0c88656756a19899af8 SHA256 c85a110175ad59172db88ebaa432bab86651f4e290ad687543b968e9f56cc67e
+MISC ChangeLog 1140 RMD160 b71c59041566c8e971de4c985d1f719af75dd1b8 SHA1 c89ccc01a47cf8984ce464ef3101c4eec7eb052c SHA256 ab0c041dac02e8a7990b86d36f1eb4ce8ec7d622da0b552772dc7e82a4c817e0
 MISC metadata.xml 253 RMD160 b3e03a7854542a9efb44bff54089962b09f5340b SHA1 0363e7e4f6ccfb8109ddb5e656575e0047a27437 SHA256 2033971042ce53f0af10bdc9f59bd2aba7b8490f0eafbca62a9e8ffd49d23c5d
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iJwEAQEIAAYFAk58/5kACgkQfXuS5UK5QB2orwP/TlFeUUVV2tQssLJChTHOjAXO
-GsBgkhUbanilkgDXS7nsPiq78flKpLoKGRO1ITQXHvAykAPHfTSbYa1iYUGcO9PQ
-mnHfc5czwMgWmpU4nh0PKQAG1c64+3x6KZmAWAS0peH68g1BCTq8uuzO6yUVeA2/
-hrRAWo9lynJgnT7SGow=
-=ddom
------END PGP SIGNATURE-----
diff --git a/app-misc/dvtm/dvtm-0.7.ebuild b/app-misc/dvtm/dvtm-0.7.ebuild
new file mode 100644 (file)
index 0000000..1b93498
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/dvtm-0.7.ebuild,v 1.1 2011/10/27 01:10:54 chithanh Exp $
+
+EAPI=3
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Dynamic virtual terminal manager"
+HOMEPAGE="http://www.brain-dump.org/projects/dvtm/"
+SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="unicode"
+
+DEPEND="sys-libs/ncurses[unicode?]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+       sed -i \
+               -e 's|FLAGS =|FLAGS +=|' \
+               -e 's|-I/usr/local/include||' \
+               -e 's|-L/usr/local/lib||' \
+               -e 's|-Os||' \
+               config.mk || die "sed config.mk failed"
+       use unicode || {
+               sed -i \
+                       -e 's|-lncursesw|-lncurses|' \
+                       config.mk || die "sed config.mk failed"
+       }
+       sed -i \
+               -e '/strip/d' \
+               Makefile || die "sed Makefile failed"
+
+       use savedconfig && restore_config config.h
+}
+
+src_compile() {
+       local msg=""
+       use savedconfig && msg=", please check the configfile"
+       emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+
+       insinto /usr/share/${PN}
+       newins config.h ${PF}.config.h || die "newins failed"
+
+       dodoc README || die "dodoc failed"
+
+       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}"
+}