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:
parent
637c8a1cd5
commit
9835367323
|
@ -0,0 +1 @@
|
|||
monero
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue