Contents of /branches/magellan-0_10_0/core/slang/slang-2.1.4-r2.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1032 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1032 byte(s)
created branch 'magellan-0_10_0'
1 | # $Id$ |
2 | |
3 | PNAME="slang" |
4 | PVER="2.1.4" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="sys-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Console display library used by most text viewer" |
11 | HOMEPAGE="http://www.s-lang.org/" |
12 | |
13 | DEPEND=">= sys-libs/ncurses-5.7 |
14 | >= sys-libs/readline-6.0 |
15 | >= dev-libs/libpcre-7.9 |
16 | >= media-libs/libpng-1.2.35" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | |
22 | SRC_URI=( |
23 | ftp://space.mit.edu/pub/davis/slang/v${PVER:0:3}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-2.1.3-slsh-libs.patch |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE}/download.html | grep 'latest release' | sed 's/.* \(.*\)\..*/\1/'" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # fix build of slsh libs |
36 | mpatch ${PNAME}-2.1.3-slsh-libs.patch || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure --with-readline=gnu --with-pcre --with-png || die |
44 | mmake -j1 all elf || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | make DESTDIR=${BINDIR} install install-elf || die |
52 | minstalldocs changes.txt COPYING NEWS README UPGRADE.txt || die |
53 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |