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