chithanh    15/04/25 10:47:05

  Modified:             ChangeLog
  Added:                dvtm-0.14.ebuild
  Log:
  Version bump, bug #517096.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0x2324E7B566DF2611!)

Revision  Changes    Path
1.20                 app-misc/dvtm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/dvtm/ChangeLog?rev=1.20&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/dvtm/ChangeLog?rev=1.20&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/dvtm/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/dvtm/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog   17 Apr 2015 00:28:37 -0000      1.19
+++ ChangeLog   25 Apr 2015 10:47:05 -0000      1.20
@@ -1,6 +1,12 @@
 # ChangeLog for app-misc/dvtm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/ChangeLog,v 1.19 2015/04/17 
00:28:37 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/ChangeLog,v 1.20 2015/04/25 
10:47:05 chithanh Exp $
+
+*dvtm-0.14 (25 Apr 2015)
+
+  25 Apr 2015; Chí-Thanh Christopher Nguyễn <chith...@gentoo.org>
+  +dvtm-0.14.ebuild:
+  Version bump, bug #517096.
 
   17 Apr 2015; Manuel Rüger <mr...@gentoo.org> -dvtm-0.7.ebuild:
   Remove old.



1.1                  app-misc/dvtm/dvtm-0.14.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/dvtm/dvtm-0.14.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/dvtm/dvtm-0.14.ebuild?rev=1.1&content-type=text/plain

Index: dvtm-0.14.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dvtm/dvtm-0.14.ebuild,v 1.1 
2015/04/25 10:47:05 chithanh Exp $

EAPI=5

inherit savedconfig toolchain-funcs

DESCRIPTION="Dynamic virtual terminal manager"
HOMEPAGE="http://www.brain-dump.org/projects/dvtm/";

if [[ ${PV} == 9999* ]]; then
        inherit git-2
        EGIT_REPO_URI="git://repo.or.cz/dvtm.git"
        KEYWORDS=""
else
        SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz";
        KEYWORDS="~amd64 ~arm ~x86"
fi

LICENSE="MIT"
SLOT="0"
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' \
                -e 's:@tic :@tic -o ${DESTDIR}${PREFIX}/share/terminfo :g' \
                Makefile || die "sed Makefile failed"

        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

        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}"
}




Reply via email to