aboutsummaryrefslogtreecommitdiffstats
path: root/main/ez-ipupdate/APKBUILD
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-04-20 15:03:46 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-04-20 15:03:46 +0000
commit0e1bf50148e1802f3f010d5df4354de0c56924d2 (patch)
treee67a7937d0a7fcc396ff200e4f5d4cc6c0d48896 /main/ez-ipupdate/APKBUILD
parent6b9044eb7969664e8d617131f92639da36d76f09 (diff)
parentdc8e5ec0a58e861e56e01e5f444248a3b1104c83 (diff)
downloadaports-0e1bf50148e1802f3f010d5df4354de0c56924d2.tar.bz2
aports-0e1bf50148e1802f3f010d5df4354de0c56924d2.tar.xz
Merge remote branch 'alpine/master'
Diffstat (limited to 'main/ez-ipupdate/APKBUILD')
-rw-r--r--main/ez-ipupdate/APKBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/main/ez-ipupdate/APKBUILD b/main/ez-ipupdate/APKBUILD
index 33cb03ea17..9da9730560 100644
--- a/main/ez-ipupdate/APKBUILD
+++ b/main/ez-ipupdate/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=ez-ipupdate
pkgver=3.0.10
-pkgrel=1
+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"
@@ -13,16 +13,27 @@ subpackages=""
source="http://ez-ipupdate.com/dist/$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 "$srcdir"/$pkgname-$pkgver
-
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
@@ -33,4 +44,5 @@ build() {
md5sums="6505c9d18ef6b5ce13fe2a668eb5724b ez-ipupdate-3.0.10.tar.gz
e6e06780b1896f2250132cc16cd10710 ez-ipupdate.confd
-6b9ce71b7b6b739794f003b2ebbf66ed ez-ipupdate.initd"
+6b9ce71b7b6b739794f003b2ebbf66ed ez-ipupdate.initd
+1fede0dcb5d9ca108855df0a9d213413 errno.patch"