summaryrefslogtreecommitdiffstats
path: root/testing/upstart
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-07 01:33:53 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-07 01:33:53 -0600
commit5a137303fabe3f11f35c8e4c496ec14ffc4d2e19 (patch)
treeedc72d215d3d3e3ea5db0dc799bf04edf625e8e5 /testing/upstart
parent4bcf6b734d1e794d95d9ee23fbdf55f8d6340546 (diff)
downloadaports-5a137303fabe3f11f35c8e4c496ec14ffc4d2e19.tar.bz2
aports-5a137303fabe3f11f35c8e4c496ec14ffc4d2e19.tar.xz
testing/upstart: new aport
Diffstat (limited to 'testing/upstart')
-rw-r--r--testing/upstart/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/upstart/APKBUILD b/testing/upstart/APKBUILD
new file mode 100644
index 000000000..015ada3b7
--- /dev/null
+++ b/testing/upstart/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=upstart
+pkgver=0.6.7
+pkgrel=0
+pkgdesc="event-based init system"
+url="http://upstart.ubuntu.com"
+arch="all"
+license="GPL"
+depends=
+depends_dev="libnih-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://upstart.ubuntu.com/download/${pkgver%.*}/upstart-${pkgver}.tar.gz"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ 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 --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="37740f81b6d12a53072603fadee451c9 upstart-0.6.7.tar.gz"