diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-16 17:37:15 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-16 17:37:36 +0000 |
commit | 807e329d0a144fbb8aed10655c55bfc8a522e4b4 (patch) | |
tree | c18a89ecaa9462a2c07a191d280b894f4aa5099a /main/dhcpcd-dbus/APKBUILD | |
parent | ee3bbb7df70b91a06879dc78862665a86d3080ae (diff) | |
download | aports-807e329d0a144fbb8aed10655c55bfc8a522e4b4.tar.bz2 aports-807e329d0a144fbb8aed10655c55bfc8a522e4b4.tar.xz |
main/dhcpcd-dbus: fix musl build
Diffstat (limited to 'main/dhcpcd-dbus/APKBUILD')
-rw-r--r-- | main/dhcpcd-dbus/APKBUILD | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD index cc3c9e0c77..f3a2ea6408 100644 --- a/main/dhcpcd-dbus/APKBUILD +++ b/main/dhcpcd-dbus/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcpcd-dbus pkgver=0.6.0 -pkgrel=0 +pkgrel=1 pkgdesc="DBUS binding to dhcpcd" url="http://roy.marples.name/projects/dhcpcd-dbus" arch="all" @@ -10,10 +10,22 @@ depends="" makedepends="dbus-dev pkgconfig" install= subpackages= -source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2" +source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2 + fix-includes.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 +} build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -25,8 +37,13 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install } -md5sums="4fd43b0f0ca7c0e65f95a0b2846b37b7 dhcpcd-dbus-0.6.0.tar.bz2" +md5sums="4fd43b0f0ca7c0e65f95a0b2846b37b7 dhcpcd-dbus-0.6.0.tar.bz2 +7b418d583fc1ddb203fbcdcec3b94931 fix-includes.patch" +sha256sums="b14190fb7dcd0642fa747fd286462e80ba4d1f44ba32a761af979c2101b6fb81 dhcpcd-dbus-0.6.0.tar.bz2 +f81fea89c922c25cc97729beceea59d8166331c79c1b47534c679a3567f8247f fix-includes.patch" +sha512sums="a50b5cd01ccd94048a34f08b507bfeb92113e2ff45714fef64c16a8317806876cea1737fbde0eb8ebe1ffd0e41bd33fd94b5448fd7cb2f10043fcbbafbedc964 dhcpcd-dbus-0.6.0.tar.bz2 +88fbce9783a61f319a7464ab15ae8689126b04759835d23ca155f00103117b1d155c7d845781420440f740632807e0d34be8b2e0cfd18950df853d8a1a6ad882 fix-includes.patch" |