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'
|
# Template file for 'thrift'
|
||||||
pkgname=thrift
|
pkgname=thrift
|
||||||
version=0.13.0
|
version=0.13.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--without-python"
|
||||||
makedepends="boost-devel libressl-devel"
|
makedepends="boost-devel libressl-devel"
|
||||||
|
checkdepends="zlib-devel libevent-devel"
|
||||||
short_desc="Apache Thrift compiler"
|
short_desc="Apache Thrift compiler"
|
||||||
maintainer="Renato Aguiar <renato@renag.me>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://thrift.apache.org/"
|
homepage="https://thrift.apache.org/"
|
||||||
distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz"
|
distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz"
|
||||||
|
@ -16,7 +18,7 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args="--disable-tests --disable-tutorial"
|
configure_args+=" --disable-tests --disable-tutorial"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
|
@ -27,3 +29,14 @@ post_configure() {
|
||||||
;;
|
;;
|
||||||
esac
|
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