diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/sntpc/APKBUILD | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/sntpc/APKBUILD')
-rw-r--r-- | main/sntpc/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/sntpc/APKBUILD b/main/sntpc/APKBUILD new file mode 100644 index 000000000..6df6a6efd --- /dev/null +++ b/main/sntpc/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=sntpc +pkgver=0.9 +pkgrel=0 +pkgdesc="Simple NTP client" +url="http://git.alpinelinux.org/cgit/sntpc" +license="GPL-2" +depends="uclibc" +source="http://git.alpinelinux.org/cgit/sntpc/snapshot/sntpc-$pkgver.tar.bz2 + sntpc.initd + sntpc.confd + " + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make || return 1 + install -m755 -D sntpc "$pkgdir"/usr/sbin/sntpc + install -m755 -D "$srcdir"/sntpc.initd "$pkgdir"/etc/init.d/sntpc + install -m644 -D "$srcdir"/sntpc.confd "$pkgdir"/etc/conf.d/sntpc +} + +md5sums="60c64d975daa3a6f371e9e81538e38db sntpc-0.9.tar.bz2 +c5018237685af2cddb0b4ede1751bee1 sntpc.initd +4ea1ceee01f94080be86188bde8f9adc sntpc.confd" |