aboutsummaryrefslogtreecommitdiffstats
path: root/main/igmpproxy/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-03 12:24:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-03 13:03:42 +0000
commit02fd1696e5b29c566309b4a3c8b963ddba306e01 (patch)
tree574825a9c2061743a2f9712cb2fb3724f995196a /main/igmpproxy/APKBUILD
parentaa2568798bf5bbe382fbfe1e79277856e4f3dee7 (diff)
downloadaports-02fd1696e5b29c566309b4a3c8b963ddba306e01.tar.bz2
aports-02fd1696e5b29c566309b4a3c8b963ddba306e01.tar.xz
main/igmpproxy: fix building with musl
Diffstat (limited to 'main/igmpproxy/APKBUILD')
-rw-r--r--main/igmpproxy/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/main/igmpproxy/APKBUILD b/main/igmpproxy/APKBUILD
index 17895176a5..0dc2bcc350 100644
--- a/main/igmpproxy/APKBUILD
+++ b/main/igmpproxy/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=igmpproxy
pkgver=0.1
-pkgrel=3
+pkgrel=4
pkgdesc="A simple dynamic Multicast Routing Daemon using only IGMP signalling"
url="http://sourceforge.net/projects/igmpproxy/"
arch="all"
@@ -11,11 +11,17 @@ depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ 0001-Use-standard-unsigned-integer-types.patch"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
update_config_sub || return 1
}
@@ -42,6 +48,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="c56f41ec195bc1fe016369bf74efc5a1 igmpproxy-0.1.tar.gz"
-sha256sums="ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae igmpproxy-0.1.tar.gz"
-sha512sums="1a569814d8984610402313d8c4adb78ff362f82ae28c968a8ba0fb411e12a704d1b51b387111b51517ab8fb2e86952bbd196f27eccd311c11ce288fc6fa25ad4 igmpproxy-0.1.tar.gz"
+md5sums="c56f41ec195bc1fe016369bf74efc5a1 igmpproxy-0.1.tar.gz
+5e5d698b45e28b77d77eb9243f10a6d1 0001-Use-standard-unsigned-integer-types.patch"
+sha256sums="ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae igmpproxy-0.1.tar.gz
+12b5c5458fe335fd7ec231887240367464fc69330038731425963051385ee6d0 0001-Use-standard-unsigned-integer-types.patch"
+sha512sums="1a569814d8984610402313d8c4adb78ff362f82ae28c968a8ba0fb411e12a704d1b51b387111b51517ab8fb2e86952bbd196f27eccd311c11ce288fc6fa25ad4 igmpproxy-0.1.tar.gz
+161bcc7f247131f74251b12095361a4883581986d25e84b9dc16f9330846f4be8d2913123cef27a46b790956b258b16fcd77bf8a037a680f79d9bacfa1e037ad 0001-Use-standard-unsigned-integer-types.patch"