package: build configuration updated
This commit is contained in:
parent
c58a0287eb
commit
70e2fa250c
@ -1,5 +1,6 @@
|
|||||||
name: package
|
name: package
|
||||||
version: 0.6.0
|
version: 0.6.0
|
||||||
|
release: 2
|
||||||
sources:
|
sources:
|
||||||
- https://git.karchnu.fr/WeirdOS/package/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz
|
- https://git.karchnu.fr/WeirdOS/package/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz
|
||||||
- config.cfg
|
- config.cfg
|
||||||
@ -17,10 +18,10 @@ dirname: package
|
|||||||
shards install
|
shards install
|
||||||
@build
|
@build
|
||||||
cd %{dirname}
|
cd %{dirname}
|
||||||
make PREFIX="%{prefix}"
|
make PREFIX="%{prefix}" SYSCONFDIR="/etc"
|
||||||
@install
|
@install
|
||||||
cd %{dirname}
|
cd %{dirname}
|
||||||
make PREFIX="%{prefix}" DESTDIR="%{pkg}" install
|
make PREFIX="%{prefix}" SYSCONFDIR="/etc" DESTDIR="%{pkg}" install
|
||||||
|
|
||||||
mkdir -p "%{pkg}/etc"
|
mkdir -p "%{pkg}/etc"
|
||||||
cp ../config.cfg "%{pkg}/etc/package.cfg"
|
cp ../config.cfg "%{pkg}/etc/package.cfg"
|
||||||
|
Reference in New Issue
Block a user