Magellan Linux

Contents of /trunk/core/whois/whois-4.7.28-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 125 - (show annotations) (download)
Tue Oct 14 11:50:54 2008 UTC (15 years, 7 months ago) by niro
File size: 1015 byte(s)
-move to "core"
1 # $Header: /magellan-cvs/smage/whois/whois-4.7.26-r1.smage2,v 1.1 2008/04/20 23:08:48 niro Exp $
2
3 PNAME="whois"
4 PVER="4.7.28"
5 PBUILD="r1"
6
7 PCATEGORIE="net-misc"
8 STATE="unstable"
9
10 DESCRIPTION="Whois queries the whois directory service for a domain name."
11 HOMEPAGE="http://www.linux.it/~md/software/"
12
13 DEPEND=">= virtual/glibc
14 >= net-dns/libidn-1"
15
16 SDEPEND=">= sys-apps/sed-4
17 >= dev-lang/perl-5"
18
19 SRCFILE="${PNAME}_${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild mtools
23
24 SRC_URI=(
25 http://ftp.debian.org/debian/pool/main/w/${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd http://ftp.debian.org/debian/pool/main/w/${PNAME} | grep .tar.gz | sed -n 's/.*_\(.*\).t.*/\1/;$ p'"
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34 mmake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40
41 # needed directories
42 minstalldir /usr/bin || die
43 minstalldir /usr/share/man/man1 || die
44
45 mmake BASEDIR=${BINDIR} prefix=/usr install || die
46 minstalldocs README whois.conf || die
47 }

Properties

Name Value
svn:keywords Id