2018-10-28 08:10:51 +00:00
|
|
|
# Template file for 'startup'
|
|
|
|
pkgname=startup
|
2019-02-02 04:54:14 +00:00
|
|
|
version=1.13.4
|
2018-10-28 08:10:51 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-sysvcompat --disable-dconf-bridge --disable-cgroups"
|
|
|
|
conf_files="
|
|
|
|
/etc/init/bridge-dbus.conf
|
|
|
|
/etc/init/bridge-file.conf
|
|
|
|
/etc/init/bridge-socket.conf"
|
|
|
|
make_dirs="/var/log/upstart 0750 root adm"
|
|
|
|
hostmakedepends="autoconf automake libtool pkg-config gettext-devel nih-devel"
|
|
|
|
makedepends="libnih-devel eudev-libudev-devel dbus-devel json-c-devel"
|
|
|
|
checkdepends="python3 dbus"
|
|
|
|
short_desc="Event driven task and service manager"
|
|
|
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
|
|
|
license="GPL-2.0-only"
|
2019-02-02 04:54:14 +00:00
|
|
|
homepage="https://gitlab.com/chinstrap/startup"
|
2018-10-28 08:10:51 +00:00
|
|
|
changelog="${homepage}/raw/master/NEWS"
|
|
|
|
distfiles="${homepage}/-/archive/${version}/startup-${version}.tar.gz"
|
2019-02-02 04:54:14 +00:00
|
|
|
checksum=c637beb840878577a115e97dfc2b3284c90cf1e79b7f3a7ba21a7d922fc3c1ce
|
2018-10-28 08:10:51 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -f -- "${DESTDIR}/usr/lib/libupstart.la"
|
|
|
|
}
|
|
|
|
|
|
|
|
startup-tools_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} python3-dbus python3-gobject"
|
|
|
|
short_desc+=" - monitoring and analysis tools"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/initctl2dot
|
|
|
|
vmove usr/bin/startup-monitor
|
|
|
|
vmove usr/share/icons
|
|
|
|
vmove usr/share/startup/icons
|
|
|
|
vmove usr/share/applications/startup-monitor.desktop
|
|
|
|
vmove usr/share/man/man8/startup-monitor.8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
startup-bridge-udev_package() {
|
|
|
|
conf_files="/etc/init/bridge-udev.conf"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - udev event bridge"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/libexec/startup/bridge/udev
|
|
|
|
vmove etc/init/bridge-udev.conf
|
|
|
|
vmove usr/share/upstart/sessions/bridge-udev.conf
|
|
|
|
vmove "usr/share/man/man7/*-added.7"
|
|
|
|
vmove "usr/share/man/man7/*-removed.7"
|
|
|
|
vmove usr/share/man/man8/startup-udev-bridge.8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libupstart_package() {
|
|
|
|
short_desc+=" - library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libupstart.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libupstart-devel_package() {
|
|
|
|
depends="libupstart>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|