aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/upstart
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-28 09:59:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-28 09:59:44 +0000
commit821695892a19a2a7969681016667ad92be12e006 (patch)
tree431590dad0e0116d22f3d536f8a946c5c5387e0e /unmaintained/upstart
parent9579307ffd0c036561644d5b6dd71faaf0d02fb2 (diff)
downloadaports-821695892a19a2a7969681016667ad92be12e006.tar.bz2
aports-821695892a19a2a7969681016667ad92be12e006.tar.xz
testing/upstart: unmaintained
Diffstat (limited to 'unmaintained/upstart')
-rw-r--r--unmaintained/upstart/APKBUILD43
-rw-r--r--unmaintained/upstart/upstart.post-deinstall3
-rw-r--r--unmaintained/upstart/upstart.post-upgrade3
3 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/upstart/APKBUILD b/unmaintained/upstart/APKBUILD
new file mode 100644
index 0000000000..4aea050120
--- /dev/null
+++ b/unmaintained/upstart/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=upstart
+pkgver=0.6.7
+pkgrel=1
+pkgdesc="event-based init system"
+url="http://upstart.ubuntu.com"
+arch="all"
+license="GPL"
+depends=
+depends_dev="libnih-dev"
+makedepends="$depends_dev"
+install="$pkgname.post-deinstall $pkgname.post-upgrade"
+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 \
+ --bindir=/bin \
+ --sbindir=/sbin \
+ --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"
diff --git a/unmaintained/upstart/upstart.post-deinstall b/unmaintained/upstart/upstart.post-deinstall
new file mode 100644
index 0000000000..99b57c4635
--- /dev/null
+++ b/unmaintained/upstart/upstart.post-deinstall
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+busybox --install -s
diff --git a/unmaintained/upstart/upstart.post-upgrade b/unmaintained/upstart/upstart.post-upgrade
new file mode 100644
index 0000000000..99b57c4635
--- /dev/null
+++ b/unmaintained/upstart/upstart.post-upgrade
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+busybox --install -s