diff options
Diffstat (limited to 'unmaintained/upstart')
-rw-r--r-- | unmaintained/upstart/APKBUILD | 43 | ||||
-rw-r--r-- | unmaintained/upstart/upstart.post-deinstall | 3 | ||||
-rw-r--r-- | unmaintained/upstart/upstart.post-upgrade | 3 |
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 |