Magellan Linux

Contents of /tags/old-unstable-20120113/core/whois/whois-4.7.36-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9870 - (show annotations) (download)
Fri Jan 13 21:26:11 2012 UTC (12 years, 4 months ago) by niro
File size: 925 byte(s)
tagged 'old-unstable-20120113'
1 # $Id$
2
3 PNAME="whois"
4 PVER="4.7.36"
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