aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fswebcam
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fswebcam')
-rw-r--r--testing/fswebcam/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/fswebcam/APKBUILD b/testing/fswebcam/APKBUILD
new file mode 100644
index 0000000000..0e3d4063cf
--- /dev/null
+++ b/testing/fswebcam/APKBUILD
@@ -0,0 +1,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"