diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-10-27 12:52:17 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-10-27 12:52:17 +0000 |
commit | fdd9da4afe712cd0805c6b2dd297d97451ace589 (patch) | |
tree | 3647e898af32da8f9d3ffdfa991aa93049e18c81 /testing/fswebcam/APKBUILD | |
parent | c636bc39623f295bd579b5111fcf5f319bd80908 (diff) | |
download | aports-fdd9da4afe712cd0805c6b2dd297d97451ace589.tar.bz2 aports-fdd9da4afe712cd0805c6b2dd297d97451ace589.tar.xz |
testing/fswebcam: new aport. Fixes #1452
Diffstat (limited to 'testing/fswebcam/APKBUILD')
-rw-r--r-- | testing/fswebcam/APKBUILD | 30 |
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" |