Contents of /trunk/core/ncurses/ncurses-5.6-r3.smage2
Parent Directory | Revision Log
Revision 68 -
(show annotations)
(download)
Mon Oct 13 21:43:52 2008 UTC (15 years, 8 months ago) by niro
File size: 1793 byte(s)
Mon Oct 13 21:43:52 2008 UTC (15 years, 8 months ago) by niro
File size: 1793 byte(s)
-rev bump to 5.6-r3; rebuild against new toolchain
1 | # $Header: /magellan-cvs/smage/ncurses/ncurses-5.6-r2.smage2,v 1.1 2008/02/08 13:28:07 niro Exp $ |
2 | |
3 | PNAME="ncurses" |
4 | PVER="5.6" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="sys-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Linux console display library." |
11 | HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools multilib |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
26 | |
27 | src_compile() |
28 | { |
29 | mconfigure --with-shared --without-debug || die |
30 | mmake || die |
31 | } |
32 | |
33 | src_install() |
34 | { |
35 | # needed directories |
36 | minstalldir /$(mlibdir) || die |
37 | |
38 | minstall_destdir || die |
39 | |
40 | mchmod 755 /usr/$(mlibdir)/*.${PVER} || die |
41 | mchmod 644 /usr/$(mlibdir)/libncurses++.a || die |
42 | mv ${BINDIR}/usr/$(mlibdir)/libncurses.so.5* ${BINDIR}/$(mlibdir) || die |
43 | mlink ../../$(mlibdir)/libncurses.so.5 /usr/$(mlibdir)/libncurses.so || die |
44 | mlink libncurses.so /usr/$(mlibdir)/libcurses.so || die |
45 | |
46 | # move the -m32 libs also to the right place (multilib) |
47 | if [[ ${ARCH} = x86_64 ]] |
48 | then |
49 | minstalldir /lib || die |
50 | mchmod 755 /usr/lib/*.${PVER} || die |
51 | mchmod 644 /usr/lib/libncurses++.a || die |
52 | mv ${BINDIR}/usr/lib/libncurses.so.5* ${BINDIR}/lib || die |
53 | mlink ../../lib/libncurses.so.5 /usr/lib/libncurses.so || die |
54 | mlink libncurses.so /usr/lib/libcurses.so || die |
55 | fi |
56 | |
57 | # fixes a small man issue |
58 | if [ -e ${BINDIR}/usr/share/man/tack.1 ] |
59 | then |
60 | mv ${BINDIR}/usr/share/man/tack.1 \ |
61 | ${BINDIR}/usr/share/man/man1 || die |
62 | fi |
63 | |
64 | # fix to enable colors in the default xterm |
65 | mv ${BINDIR}/usr/share/terminfo/x/xterm \ |
66 | ${BINDIR}/usr/share/terminfo/x/xterm.orig || die |
67 | mlink xterm-color /usr/share/terminfo/x/xterm || die |
68 | |
69 | minstalldocs ANNOUNCE MANIFEST NEWS README* TO-DO || die |
70 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |