thrift: split devel, orphan
This commit is contained in:
parent
b6973bd75c
commit
9e81f7e845
2 changed files with 17 additions and 3 deletions
1
srcpkgs/thrift-devel
Symbolic link
1
srcpkgs/thrift-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
thrift
|
|
@ -1,11 +1,13 @@
|
|||
# Template file for 'thrift'
|
||||
pkgname=thrift
|
||||
version=0.13.0
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-python"
|
||||
makedepends="boost-devel libressl-devel"
|
||||
checkdepends="zlib-devel libevent-devel"
|
||||
short_desc="Apache Thrift compiler"
|
||||
maintainer="Renato Aguiar <renato@renag.me>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://thrift.apache.org/"
|
||||
distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz"
|
||||
|
@ -16,7 +18,7 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|||
fi
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args="--disable-tests --disable-tutorial"
|
||||
configure_args+=" --disable-tests --disable-tutorial"
|
||||
fi
|
||||
|
||||
post_configure() {
|
||||
|
@ -27,3 +29,14 @@ post_configure() {
|
|||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
thrift-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue