summaryrefslogtreecommitdiffstats
path: root/main/ez-ipupdate/APKBUILD
blob: fbc0219dc7ffb3eb202f76b812e9c31b3f748605 (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
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=ez-ipupdate
pkgver=3.0.10
pkgrel=0
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/"
license="GPL"
depends=""
makedepends=""
install="$pkgname.pre-install $pkgname.post-install"
subpackages=""
source="http://ez-ipupdate.com/dist/$pkgname-$pkgver.tar.gz
	ez-ipupdate.confd
	ez-ipupdate.initd
	"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	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 "$pkgdir"/var/lib/$pkgname
	install -d "$pkgdir"/var/run/$pkgname
}

md5sums="6505c9d18ef6b5ce13fe2a668eb5724b  ez-ipupdate-3.0.10.tar.gz
e6e06780b1896f2250132cc16cd10710  ez-ipupdate.confd
04b773d467e9793c9a4e3b0e9d6a2f7f  ez-ipupdate.initd"