blob: 5fd1740538f3d1bbb96bdfafb24082250cb68ffa (
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
56
57
58
59
60
61
62
|
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=ez-ipupdate
pkgver=3.0.10
pkgrel=9
pkgdesc="utility for updating your host name for many of the dynamic DNS services (ez-ip.net, dyndns.org, etc)"
url="http://ez-ipupdate.com/"
arch="all"
license="GPL"
depends=""
makedepends=""
pkgusers="ipupdate"
pkggroups="ipupdate"
install="$pkgname.pre-install"
subpackages=""
source="http://dev.alpinelinux.org/archive/ez-ipupdate/$pkgname-$pkgver.tar.gz
ez-ipupdate.confd
ez-ipupdate.initd
errno.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for A in ../*.patch ; do
patch -p1 < $A
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -d -o ipupdate -g ipupdate "$pkgdir"/var/lib/$pkgname
}
md5sums="6505c9d18ef6b5ce13fe2a668eb5724b ez-ipupdate-3.0.10.tar.gz
e6e06780b1896f2250132cc16cd10710 ez-ipupdate.confd
301e9aa30cd1b34751ab930abd4fcb01 ez-ipupdate.initd
1fede0dcb5d9ca108855df0a9d213413 errno.patch"
sha256sums="f7ff9bf972139b303616018a6937aa4c6df4e93c935ffd004b30845e2ad41ea6 ez-ipupdate-3.0.10.tar.gz
27bc2bfb01a29b9b94ae53e5f520baabcc93ff832e89f1aedfc76078201480b0 ez-ipupdate.confd
83ed070dec1373194cd21e0791a9b3d72b478d20a16b4122e63166f61b7b9d87 ez-ipupdate.initd
4b72ddf41197f9122f118c061e304b9a6492bd3f0c6827b10ade56357a0b4608 errno.patch"
sha512sums="dfcbdb2f6a53c3781c31d04269e36819b6bcdb53dfcf065f66c36de310420da7c7dc107a18bc8c7d75cfe1e2964bc9a1e3289502295ad386eee12e8a83a6b388 ez-ipupdate-3.0.10.tar.gz
510f7c6cfb6b9c08ecf8940d80ef7ec46acbbd57c0deed7304348e91616affa3381429118aa1e7d5315d61478e54c70599eed2e414cbc75b7df2b8f276648452 ez-ipupdate.confd
6c7514b91b82e34a489f173e225b04463e33bbdc58d13828c1daef159d4121f57d53e28b54799eb27935c39305507314de480368904e52702ace04cabf631013 ez-ipupdate.initd
906f25047ae422beeb80b07af07e8516c97cb51dc49298357b11e03919b562f474bc4b45f2eb636e6c7e0e2de787569d1bac387913a046fc4e6d0dffa2a5c502 errno.patch"
|