mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
|
pkgname=fswebcam
|
|
pkgver=20140113
|
|
pkgrel=0
|
|
pkgdesc="A neat and simple webcam app"
|
|
url="http://www.firestorm.cx/fswebcam"
|
|
arch="all"
|
|
license="GPL2"
|
|
depends=""
|
|
depends_dev="gd-dev gzip"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://www.firestorm.cx/$pkgname/files/$pkgname-$pkgver.tar.xz"
|
|
|
|
_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="1bfdb21904e816f100370ec8f4df986b fswebcam-20140113.tar.xz"
|
|
sha256sums="444d6a8a82102e09e935540c64a731021de36db03e1e74181f41ca6f39aa6474 fswebcam-20140113.tar.xz"
|
|
sha512sums="eb7a40da546ac413dd7783ccd808d70fc4117b6334a6ba6626d2af4a130e35597652328117333961af66a9c1e578cdb1c313b286fa728313820160544c5a43cb fswebcam-20140113.tar.xz"
|