monero: add -devel subpackage

Install the static libraries and header file which was left out of the package
earlier and put it in the -devel package so it can be used to build other
software against it.
This commit is contained in:
Helmut Pozimski 2017-09-28 11:45:38 +02:00
parent 637c8a1cd5
commit 9835367323
2 changed files with 12 additions and 6 deletions

1
srcpkgs/monero-devel Symbolic link
View file

@ -0,0 +1 @@
monero

View file

@ -1,7 +1,7 @@
# Template file for 'monero'
pkgname=monero
version=0.11.0.0
revision=1
revision=2
conf_files="/etc/monerod.conf"
build_style=cmake
hostmakedepends="pkg-config"
@ -34,15 +34,20 @@ case "$XBPS_TARGET_MACHINE" in
;;
esac
do_install() {
vbin build/bin/monerod
vbin build/bin/monero-wallet-cli
post_install() {
vlicense LICENSE
vbin build/bin/monero-blockchain-import
vbin build/bin/monero-blockchain-export
vinstall utils/conf/monerod.conf 644 etc
vsv monerod
}
post_install() {
vlicense LICENSE
monero-devel_package() {
short_desc+=" - development files"
pkg_install() {
vlicense LICENSE
vmove usr/include
vmove "usr/lib/*.a"
}
}