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