Magellan Linux

Contents of /branches/magellan-next/extras/ntrack/ntrack-014-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8883 - (show annotations) (download)
Fri Aug 5 17:11:25 2011 UTC (12 years, 9 months ago) by niro
File size: 928 byte(s)
auto added: ver bump to 014-r3
1 # $Id$
2
3 PNAME="ntrack"
4 PVER="014"
5 PBUILD="r3"
6
7 PCATEGORIE="net-libs"
8
9 DESCRIPTION="Network connectivity tracking library for desktop applications."
10 HOMEPAGE="https://launchpad.net/ntrack/"
11
12 DEPEND=">= dev-libs/libnl-1.1
13 >= dev-libs/glib2-2.28
14 >= x11-libs/qt4-core-4.7"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild
20
21 SRC_URI=(
22 http://launchpad.net/ntrack/main/${PVER}/+download/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-${PVER}-dead-loop-fix.patch
25 mirror://${PNAME}/${PNAME}-${PVER}-link.patch
26 )
27
28 UP2DATE="updatecmd http://www.libssh.org/files/ | lasttarball gz"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 cd ${SRCDIR}
34
35 # fixes a loop error
36 mpatch ${PNAME}-${PVER}-dead-loop-fix.patch || die
37
38 # fixes unresolved sysmbols 'ntrack_list_insert_sorted'
39 # see: https://bugs.launchpad.net/ntrack/+bug/750554
40 mpatch ${PNAME}-${PVER}-link.patch || die
41 }