aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fswebcam/APKBUILD
blob: 0e3d4063cfdc47b3f70b049a4a92c42ee814787a (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=fswebcam
pkgver=20110717
pkgrel=0
pkgdesc="http://www.firestorm.cx/fswebcam/files/fswebcam-20110717.tar.gz"
url="http://www.firestorm.cx/fswebcam"
arch="all"
license="GPL"
depends=""
depends_dev="gd-dev gzip"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://www.firestorm.cx/$pkgname/files/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	sed "s_^_#_g" -i example.conf
	install -Dm644 example.conf "$pkgdir/etc/fswebcam.conf"
}

md5sums="6e09f1f31cf7cd0ac1d4d688a0acbe41  fswebcam-20110717.tar.gz"