Magellan Linux

Contents of /smage/branches/alx-0_6_0/extras/usbip/usbip-0.1.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3419 - (show annotations) (download)
Tue Apr 10 13:28:28 2012 UTC (12 years ago) by niro
File size: 723 byte(s)
-added usbip package
1 # $Id$
2
3 PNAME="usbip"
4 PVER="0.1.7"
5 PBUILD="r1"
6
7 PCATEGORIE="net-misc"
8
9 DESCRIPTION="USB Enumerator over TCP/IP."
10 HOMEPAGE="http://usbip.sourceforge.net/"
11
12 DEPEND="dev-libs/glib2-2.8
13 >= sys-fs/sysfsutils-2.1"
14
15 SDEPEND=">= sys-dev/autoconf-9
16 >= sys-dev/automake-4"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}/src"
20
21 ALX_ONLY_KEEP="usr/bin usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*"
22 sminclude mbuild alx-split
23
24 SRC_URI=(
25 sourceforge://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd_sourceforge ${PNAME}"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 mautoreconf || die
37 }
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42 mconfigure --with-usbids-dir=/usr/share/misc || die
43 }