diff options
author | 2006-02-10 21:39:52 +0000 | |
---|---|---|
committer | 2006-02-10 21:39:52 +0000 | |
commit | 00f6cd10af4e62552735a4233651777a7f054c81 (patch) | |
tree | 794624ce823c7f0fcea4e858584f32e34ef55db6 /app-i18n/unicon/unicon-3.0.4-r2.ebuild | |
parent | Change plugin remerge message to only show up when plugins are present and al... (diff) | |
download | gentoo-2-00f6cd10af4e62552735a4233651777a7f054c81.tar.gz gentoo-2-00f6cd10af4e62552735a4233651777a7f054c81.tar.bz2 gentoo-2-00f6cd10af4e62552735a4233651777a7f054c81.zip |
immediate stable bump because both the stable and unstable version are horribly broken and this is the only way to get any working version for users. (#115114)
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-i18n/unicon/unicon-3.0.4-r2.ebuild')
-rw-r--r-- | app-i18n/unicon/unicon-3.0.4-r2.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-i18n/unicon/unicon-3.0.4-r2.ebuild b/app-i18n/unicon/unicon-3.0.4-r2.ebuild new file mode 100644 index 000000000000..464f0b6ef3e5 --- /dev/null +++ b/app-i18n/unicon/unicon-3.0.4-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/unicon/unicon-3.0.4-r2.ebuild,v 1.1 2006/02/10 21:39:52 liquidx Exp $ + +inherit eutils + +# TODO: Figure out how to build the kernel-modules. + +DEB_PV="9.2" + +DESCRIPTION="CJK (Chinese/Japanese/Korean) console input, display system and input modules." +HOMEPAGE="http://www.gnu.org/directory/UNICON.html" +SRC_URI="mirror://debian/pool/main/u/unicon/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/u/unicon/${PN}_${PV}-${DEB_PV}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="virtual/linux-sources + dev-libs/newt + dev-libs/pth + || ( x11-libs/libX11 virtual/x11 )" + +DEPEND="${RDEPEND} + || ( x11-proto/xproto virtual/x11 )" + +S=${WORKDIR}/${P}.orig + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${DISTDIR}/${PN}_${PV}-${DEB_PV}.diff.gz +} + +src_compile() { + econf || die "econf failed" + emake -j1 || die "make failed" + emake data || die "make data failed" +} + +src_install() { + make prefix=${D}/usr install || die "make install failed" + make prefix=${D}/usr data-install || die "make data-install failed" + + dosed /usr/lib/unicon/load-unimap.sh + + newconfd ${FILESDIR}/unicon.confd unicon + newinitd ${FILESDIR}/unicon.initd unicon +} + +pkg_postinst() { + ewarn + ewarn "You need to patch your kernel in order to use this software." + ewarn "The latest unicon patch can be found at" + ewarn " ${HOMEPAGE}" + ewarn "Please make sure you remove consolefont from boot runlevel" + ewarn "and add unicon after editting /etc/conf.d/unicon, and the reboot." + ewarn + ewarn "# rc-update del consolefont boot" + ewarn "# rc-update add unicon boot" + ewarn +} |