Commit 70e4c858 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

community/captagent: add missing prepare function

parent b89a4bde
......@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=captagent
pkgver=6.1.0.20
pkgrel=3
pkgrel=4
pkgdesc="HEP Capture Agent for HOMER"
url="https://github.com/sipcapture/captagent"
arch="all"
......@@ -14,6 +14,18 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive
ac-fix.patch"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
for i in $source; do
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
}
build() {
cd "$builddir" && ./build.sh && ./configure \
--build=$CBUILD \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment