mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
69 lines
1.3 KiB
Text
69 lines
1.3 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 = System/Libraries
|
|
subpackages = run devel
|
|
license = LGPL 2
|
|
jw-maintainer = jan
|
|
|
|
[build]
|
|
libname = none
|
|
|
|
[pkg.requires.os]
|
|
run = sudo, bash, gawk
|
|
build = make, xdg-utils, coreutils, inkscape
|
|
|
|
[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
|