From 5a137303fabe3f11f35c8e4c496ec14ffc4d2e19 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 7 Mar 2011 01:33:53 -0600 Subject: testing/upstart: new aport --- testing/upstart/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/upstart/APKBUILD (limited to 'testing/upstart') diff --git a/testing/upstart/APKBUILD b/testing/upstart/APKBUILD new file mode 100644 index 0000000000..015ada3b74 --- /dev/null +++ b/testing/upstart/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: William Pitcock +# 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" -- cgit v1.2.3