aboutsummaryrefslogtreecommitdiffstats
path: root/testing/madwimax/APKBUILD
blob: a06da00cd734d0b1b7e623a5cebbe753284b1eb1 (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=4
pkgdesc="WiMAX driver for the Samsung SWC-U200 and similar USB modems"
url="http://code.google.com/p/madwimax/"
arch="all"
license="GPL2"
depends=
makedepends="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"