blob: 0ad5238dcc3fdeaa8149e121eccb394b8a0c4703 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=dhcpcd-dbus
pkgver=0.6.1
pkgrel=1
pkgdesc="DBUS binding to dhcpcd"
url="http://roy.marples.name/projects/dhcpcd-dbus"
arch="all"
license="BSD"
depends=""
makedepends="dbus-dev"
install=
subpackages=
source="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$pkgver.tar.bz2
fix-includes.patch
strverscmp.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 "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$pkgname \
|| return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="3e0762be2f2336dceebaa319f388c8dd dhcpcd-dbus-0.6.1.tar.bz2
7b418d583fc1ddb203fbcdcec3b94931 fix-includes.patch
142317002d3bb1044fd9cb0ee4353482 strverscmp.patch"
sha256sums="cdb03f21fa2d37be8804d3aba80012ad0735131e263f05bc44c36f5f13d70a06 dhcpcd-dbus-0.6.1.tar.bz2
f81fea89c922c25cc97729beceea59d8166331c79c1b47534c679a3567f8247f fix-includes.patch
0c604b09423d7013e183b0d4ba0a7871a6d3d4b83fc30910bf7955372cdf650c strverscmp.patch"
sha512sums="ec110654115afedead094c6766877e7b3f5facbfec6778590d8aa3ceef777b183754fc077a10cf5c16b39c03e42d5948abd7c21e1d8a2d7fa376ec229bd75e6a dhcpcd-dbus-0.6.1.tar.bz2
88fbce9783a61f319a7464ab15ae8689126b04759835d23ca155f00103117b1d155c7d845781420440f740632807e0d34be8b2e0cfd18950df853d8a1a6ad882 fix-includes.patch
f394c9ca2490f4450585966c7aad94bb9378341af15636ad2272996a671e44a312c543ff749a6afc960c14dc42de6ebfeb21122534577149ce0594f2338ab410 strverscmp.patch"
|