aboutsummaryrefslogtreecommitdiffstats
path: root/testing/madwimax/APKBUILD
blob: 6ed6ab0464afee3088b39ea68fd57838fcfabf63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Sergey
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=madwimax
pkgver=0.1.1
pkgrel=2
pkgdesc="WiMAX driver for the Samsung SWC-U200 and similar USB modems"
url="http://code.google.com/p/madwimax/"
arch="x86 x86_64"
license="GPL-2"
depends=
makedepends="pkgconfig libusb-dev"
install=
subpackages="$pkgname-doc"
source="http://madwimax.googlecode.com/files/madwimax-0.1.1.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--without-man-pages \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install

#2009-10-07,SP: you can start it simply by /usr/sbin/madwimax -d
#, so no init.d script so far...

}

md5sums="4ebd2d74e887e6f9d6f23067a4ad8272  madwimax-0.1.1.tar.gz"