From 816266c28e2d404c00f74ab82b077438c5d9d0ed Mon Sep 17 00:00:00 2001 From: Renato Aguiar Date: Fri, 8 May 2020 17:01:38 -0700 Subject: [PATCH] thrift: split devel, orphan --- srcpkgs/thrift-devel | 1 + srcpkgs/thrift/template | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/thrift-devel diff --git a/srcpkgs/thrift-devel b/srcpkgs/thrift-devel new file mode 120000 index 00000000000..7ede8bc0ef9 --- /dev/null +++ b/srcpkgs/thrift-devel @@ -0,0 +1 @@ +thrift \ No newline at end of file diff --git a/srcpkgs/thrift/template b/srcpkgs/thrift/template index 068125b377f..752be551552 100644 --- a/srcpkgs/thrift/template +++ b/srcpkgs/thrift/template @@ -1,11 +1,12 @@ # 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" short_desc="Apache Thrift compiler" -maintainer="Renato Aguiar " +maintainer="Orphaned " license="Apache-2.0" homepage="https://thrift.apache.org/" distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz" @@ -16,7 +17,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 +28,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 + } +}