This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
recipes/packaging/recipe.spec

28 lines
732 B
Plaintext
Raw Normal View History

2019-11-05 00:52:46 +01:00
name: packaging
version: 0.9.2
2019-09-06 00:09:23 +02:00
release: 1
sources:
2019-11-05 00:52:46 +01:00
- https://git.karchnu.fr/WeirdOS/packaging/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz
- config.cfg
build-dependencies: crystal, spec-parser
# FIXME: FIXME: Build this statically in.
2019-09-01 17:30:47 +02:00
# FIXME: bsdtar should be split out so that we depend only on it.
# Busybox is required mostly for `wget`.
2019-09-01 17:32:44 +02:00
# abuild and zsh are required for assemble-apk.
2019-09-06 00:09:23 +02:00
dependencies: gc, libevent, pcre, bsdtar, busybox, zsh, abuild, gtar
dirname: package
@configure
true
@build
cd %{dirname}
2019-09-02 16:34:04 +02:00
make PREFIX="%{prefix}" SYSCONFDIR="/etc"
@install
cd %{dirname}
2019-09-02 16:34:04 +02:00
make PREFIX="%{prefix}" SYSCONFDIR="/etc" DESTDIR="%{pkg}" install
mkdir -p "%{pkg}/etc"
cp ../config.cfg "%{pkg}/etc/package.cfg"