mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 01:32:26 +01:00
testing/upstart: add upgrade scripts
This commit is contained in:
parent
5a137303fa
commit
bb2e3cbaab
@ -1,8 +1,8 @@
|
||||
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
||||
# Maintainer:
|
||||
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
||||
pkgname=upstart
|
||||
pkgver=0.6.7
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="event-based init system"
|
||||
url="http://upstart.ubuntu.com"
|
||||
arch="all"
|
||||
@ -10,7 +10,7 @@ license="GPL"
|
||||
depends=
|
||||
depends_dev="libnih-dev"
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
install="$pkgname.post-deinstall $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://upstart.ubuntu.com/download/${pkgver%.*}/upstart-${pkgver}.tar.gz"
|
||||
|
||||
@ -28,6 +28,8 @@ prepare() {
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
./configure --prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--sbindir=/sbin \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var || return 1
|
||||
make || return 1
|
||||
|
||||
3
testing/upstart/upstart.post-deinstall
Normal file
3
testing/upstart/upstart.post-deinstall
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
busybox --install -s
|
||||
3
testing/upstart/upstart.post-upgrade
Normal file
3
testing/upstart/upstart.post-upgrade
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
busybox --install -s
|
||||
Loading…
x
Reference in New Issue
Block a user