diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-05 01:44:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-05 01:44:52 +0000 |
commit | 791962dc1794e102bf001422a8753176903402e3 (patch) | |
tree | b5dda7402784517ee556e9e6790d83eb7f868f1d /sys-libs/slang | |
parent | old (diff) | |
download | historical-791962dc1794e102bf001422a8753176903402e3.tar.gz historical-791962dc1794e102bf001422a8753176903402e3.tar.bz2 historical-791962dc1794e102bf001422a8753176903402e3.zip |
cleanup
Diffstat (limited to 'sys-libs/slang')
-rw-r--r-- | sys-libs/slang/Manifest | 8 | ||||
-rw-r--r-- | sys-libs/slang/slang-1.4.9-r1.ebuild | 30 |
2 files changed, 18 insertions, 20 deletions
diff --git a/sys-libs/slang/Manifest b/sys-libs/slang/Manifest index f5bd190ffd80..a675c0955847 100644 --- a/sys-libs/slang/Manifest +++ b/sys-libs/slang/Manifest @@ -3,7 +3,7 @@ Hash: SHA1 MD5 c2f4d54b5e00765874ba216692db12c6 ChangeLog 4772 MD5 d24403622d172658c4e564baec674de9 metadata.xml 281 -MD5 669cc071226583ff25e3c2f24f78bc4c slang-1.4.9-r1.ebuild 1856 +MD5 e20aa44d520325e2e208a5c6483ca5ea slang-1.4.9-r1.ebuild 1641 MD5 074ddbf39cb8b9708ca9de2b1fb24366 files/digest-slang-1.4.9-r1 64 MD5 5617c722a455c1aa405c699ff361bd58 files/slang-1.4.9.dif 1808 MD5 11daf6d137e1d6ec0e3475e55522cd06 files/slang-1.4.9-autoconf.dif 4143 @@ -14,7 +14,7 @@ MD5 4be647282e8c01060db9d1707098bd1d files/slang-utf8-fix.patch 855 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBitqMHTu7gpaalycRAn0BAKCbagzurPA2PXfX9v6Y1gFYZqsLTQCeM8A3 -zDFBB7gNDqOej/sdzdC8LUY= -=csuF +iD8DBQFBits/HTu7gpaalycRAoZCAJ4jUPaMpUc6Mg5V5oAHpXiHol/DVgCeJaFs +xcIT+PSP9+oq1gmJg4sNtx4= +=zRXn -----END PGP SIGNATURE----- diff --git a/sys-libs/slang/slang-1.4.9-r1.ebuild b/sys-libs/slang/slang-1.4.9-r1.ebuild index f2f0c0ff2989..a486fd3fff3d 100644 --- a/sys-libs/slang/slang-1.4.9-r1.ebuild +++ b/sys-libs/slang/slang-1.4.9-r1.ebuild @@ -1,13 +1,14 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.9-r1.ebuild,v 1.13 2004/11/02 14:50:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.9-r1.ebuild,v 1.14 2004/11/05 01:44:52 vapier Exp $ -inherit gcc eutils +inherit eutils -DESCRIPTION="Console display library used by most text viewer" -HOMEPAGE="http://space.mit.edu/~davis/slang/" # Patches are taken from http://www.suse.de/~nadvornik/slang/ # They were originally Red Hat and Debian's patches + +DESCRIPTION="Console display library used by most text viewer" +HOMEPAGE="http://space.mit.edu/~davis/slang/" SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${P}.tar.bz2" LICENSE="GPL-2 | Artistic" @@ -21,31 +22,29 @@ src_unpack() { unpack ${P}.tar.bz2 cd ${S} - epatch ${FILESDIR}/${P}.dif - epatch ${FILESDIR}/${P}-fsuid.dif - epatch ${FILESDIR}/${P}-autoconf.dif + epatch ${FILESDIR}/${P}.patch + epatch ${FILESDIR}/${P}-fsuid.patch + epatch ${FILESDIR}/${P}-autoconf.patch if use unicode ; then epatch ${FILESDIR}/slang-debian-utf8.patch epatch ${FILESDIR}/slang-utf8-acs.patch epatch ${FILESDIR}/slang-utf8-fix.patch fi if use cjk ; then - # enable Kanji Support - cp src/sl-feat.h src/sl-feat.h.bak - sed "/SLANG_HAS_KANJI_SUPPORT/s/0/1/" \ - src/sl-feat.h.bak > src/sl-feat.h + sed -i \ + -e "/SLANG_HAS_KANJI_SUPPORT/s/0/1/" \ + src/sl-feat.h fi } src_compile() { econf || die "econf failed" - # emake doesn't work well with slang, so just use normal make. - make all elf || die "make failed" + emake -j1 all elf || die "make failed" } src_install() { make install install-elf DESTDIR=${D} || die "make install failed" - use ppc-macos || fperms 755 /usr/$(get_libdir)/libslang.so.* + chmod "${D}"/usr/$(get_libdir)/libslang.so.* if use unicode ; then for i in ${D}/usr/$(get_libdir)/libslang-utf8* ; do @@ -55,9 +54,8 @@ src_install() { dosym /usr/$(get_libdir)/libslang{-utf8,}.a fi - # remove the documentation... we want to install it ourselves rm -rf ${D}/usr/doc - dodoc COPYING* NEWS README *.txt + dodoc NEWS README *.txt dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt dohtml doc/*.html } |