Magellan Linux

Annotation of /branches/magellan-next/extras/openslp/openslp-1.2.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8664 - (hide annotations) (download)
Wed Jul 27 16:39:01 2011 UTC (12 years, 9 months ago) by niro
File size: 963 byte(s)
auto added: ver bump to 1.2.1-r4
1 niro 8664 # $Id$
2    
3     PNAME="openslp"
4     PVER="1.2.1"
5     PBUILD="r4"
6    
7     PCATEGORIE="net-libs"
8    
9     DESCRIPTION="An open-source implementation of Service Location Protocol."
10     HOMEPAGE="http://www.openslp.org/"
11    
12     DEPEND=">= dev-libs/openssl-1.0.0"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.gz"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mbuild mtools
18    
19     # rc cvs revision
20     RC_REV=1.2
21    
22     SRC_URI=(
23     sourceforge://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     mirror://${PNAME}/slpd.rc-${RC_REV}
26     mirror://${PNAME}/slpd.service
27     mirror://${PNAME}/multicast_route_set.sh
28     )
29    
30     UP2DATE="updatecmd ${HOMEPAGE} | grep 'current.*stable'| sed 's:.*OpenSLP\ \(.*\)\ \ .*(.*:\1:'"
31    
32     src_install()
33     {
34     cd ${SRCDIR}
35     mmake DESTDIR=${BINDIR} install || die
36     minstallrc slpd.rc-${RC_REV} slpd || die
37    
38     # systemd
39     minstallunit slpd.service || die
40     # systemd helper script
41     minstallexec -s multicast_route_set.sh /lib/systemd/multicast_route_set || die
42    
43     minstalldocs AUTHORS ChangeLog FAQ NEWS README* THANKS || die
44     }