ytnef: move pkg-config file to -devel package.

This commit is contained in:
maxice8 2018-06-13 02:31:58 -03:00
parent 4256af36b6
commit a28b2f3e37
1 changed files with 7 additions and 6 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'ytnef'
pkgname=ytnef
version=1.9.2
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Yerase's TNEF Stream Reader"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="https://github.com/Yeraze/ytnef"
distfiles="https://github.com/Yeraze/ytnef/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=48f7d7272ba74b267d3f98a1b14c81fef54cfb53460346d7c36a9604df1f95ad
@ -16,7 +16,7 @@ pre_configure() {
}
do_build() {
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
configure_args+=" --host=${XBPS_TARGET_MACHINE}"
export ac_cv_func_malloc_0_nonnull=yes
fi
@ -42,10 +42,11 @@ do_install() {
ytnef-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}