summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-02-02 09:52:56 +0000
committerJustin Lecher <jlec@gentoo.org>2013-02-02 09:52:56 +0000
commiteeb39710b6fd0e26385ec80604a168a20859ed69 (patch)
tree5197a8acefea021cd9eeb8dda5cbba03410ecbde /app-misc
parentBump (diff)
downloadgentoo-2-eeb39710b6fd0e26385ec80604a168a20859ed69.tar.gz
gentoo-2-eeb39710b6fd0e26385ec80604a168a20859ed69.tar.bz2
gentoo-2-eeb39710b6fd0e26385ec80604a168a20859ed69.zip
app-misc/wcd: Import debian style of installation which is upstream; installs missing profile script
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/wcd/ChangeLog9
-rw-r--r--app-misc/wcd/wcd-5.2.3-r1.ebuild (renamed from app-misc/wcd/wcd-5.2.3.ebuild)18
2 files changed, 22 insertions, 5 deletions
diff --git a/app-misc/wcd/ChangeLog b/app-misc/wcd/ChangeLog
index 7fc699aee3ca..c0be0e685eb1 100644
--- a/app-misc/wcd/ChangeLog
+++ b/app-misc/wcd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/wcd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/wcd/ChangeLog,v 1.9 2013/01/29 16:10:28 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/wcd/ChangeLog,v 1.10 2013/02/02 09:52:55 jlec Exp $
+
+*wcd-5.2.3-r1 (02 Feb 2013)
+
+ 02 Feb 2013; Justin Lecher <jlec@gentoo.org> -wcd-5.2.3.ebuild,
+ +wcd-5.2.3-r1.ebuild:
+ Import debian style of installation which is upstream; installs missing
+ profile script
29 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> wcd-5.2.3.ebuild:
Keyword ~arm
diff --git a/app-misc/wcd/wcd-5.2.3.ebuild b/app-misc/wcd/wcd-5.2.3-r1.ebuild
index 397d1ac15830..c509fcd1a82c 100644
--- a/app-misc/wcd/wcd-5.2.3.ebuild
+++ b/app-misc/wcd/wcd-5.2.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/wcd/wcd-5.2.3.ebuild,v 1.4 2013/01/29 16:10:28 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/wcd/wcd-5.2.3-r1.ebuild,v 1.1 2013/02/02 09:52:55 jlec Exp $
EAPI=5
@@ -11,15 +11,19 @@ HOMEPAGE="http://www.xs4all.nl/~waterlan/#WCD_ANCHOR"
SRC_URI="http://www.xs4all.nl/~waterlan/${P}-src.tar.gz"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="nls unicode"
-CDEPEND="sys-libs/ncurses[unicode?]"
+CDEPEND="
+ sys-libs/ncurses[unicode?]
+ unicode? ( dev-libs/libunistring )"
DEPEND="${CDEPEND}
app-text/ghostscript-gpl"
RDEPEND="${CDEPEND}"
+S="${WORKDIR}"/${P}/src
+
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
tc-export CC
@@ -28,7 +32,13 @@ src_prepare() {
src_compile() {
local mycompile="LFS=1"
use nls || mycompile="${mycompile} ENABLE_NLS="
- use unicode && mycompile="${mycompile} UCS=1"
+ use unicode && mycompile="${mycompile} UCS=1 UNINORM=1"
emake \
${mycompile}
}
+
+src_install() {
+ local DOCS="../README.txt"
+ default
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
+}