mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
sudo is certainly not needed for the run package (which in itself is hardly useful at all), so move that dependency into the devel package. Same for gawk. /opt/jw-pkg/bin/get-os.sh depends on it, but I don't see where else but in a -devel context that would matter. And if it breaks something, it is going to be an easy fix without awk. Signed-off-by: Jan Lindemann <jan@janware.com>
73 lines
1.4 KiB
Text
73 lines
1.4 KiB
Text
[summary]
|
|
janware GmbH software build system
|
|
|
|
[description]
|
|
A package providing a lightweight cross-platform software build and packaging
|
|
system, for use both standalone and from within a janware software build tree.
|
|
|
|
[global]
|
|
group = "Development/Tools/Building"
|
|
subpackages = run devel
|
|
license = LGPL 2
|
|
jw-maintainer = jan
|
|
|
|
[build]
|
|
libname = none
|
|
|
|
[pkg.requires.jw]
|
|
devel = jw-pkg-run = VERSION-REVISION
|
|
|
|
[pkg.requires.os]
|
|
run = bash
|
|
build = make, xdg-utils, coreutils, inkscape
|
|
devel = sudo, make, gawk
|
|
|
|
[pkg.requires.centos]
|
|
run = hostname, python
|
|
build = epel-release, pkgconfig
|
|
release = rpm-build
|
|
|
|
[pkg.requires.ubuntu]
|
|
run = python3
|
|
build = pkg-config
|
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, pkg-config
|
|
|
|
[pkg.requires.ubuntu-16]
|
|
build = realpath
|
|
|
|
[pkg.requires.ubuntu-14]
|
|
build = realpath
|
|
|
|
[pkg.requires.suse]
|
|
run = python3
|
|
release = rpmbuild, pkg-config, python3-base
|
|
|
|
[pkg.requires.debian]
|
|
run = python3
|
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, pkg-config
|
|
|
|
[pkg.requires.raspbian]
|
|
run = python3
|
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, pkg-config
|
|
|
|
[pkg.requires.yocto]
|
|
run = python3-core
|
|
build = coreutils-native, xdg-utils-native
|
|
|
|
[pkg.run.pre.yocto]
|
|
case "$1" in
|
|
0)
|
|
;;
|
|
1)
|
|
groupadd www
|
|
useradd -G www wwwrun
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
[pkg.run.post]
|
|
rm -f /usr/bin/jcs
|
|
|
|
[pkg.run.postun]
|
|
rm -f /usr/bin/jcs
|