From ab0d7965564c8c03273a05692238bf725bbd4ffd Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 2 Mar 2016 13:27:09 +0100 Subject: [PATCH] autogen: remove autogen-devel, add libopts autogen-devel hardly makes sense since when you generate a template using it, you also want to compile it. Instead, split the runtime library off into libopts to not add an unnecessary dependency to all projects using it. Closes #3738. --- common/shlibs | 2 +- srcpkgs/autogen/template | 14 +++++--------- srcpkgs/{autogen-devel => libopts} | 0 3 files changed, 6 insertions(+), 10 deletions(-) rename srcpkgs/{autogen-devel => libopts} (100%) diff --git a/common/shlibs b/common/shlibs index 6a68c4fce61..cf6f3013e3f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1374,7 +1374,7 @@ libgda-xslt-5.0.so.4 libgda-5.1.2_1 libdevhelp-3.so.2 devhelp-libs-3.8.2_1 libunistring.so.2 libunistring-0.9.4_1 libguile-2.0.so.22 libguile-2.0.9_3 -libopts.so.25 autogen-5.17.4_1 +libopts.so.25 libopts-5.18.4_6 libanjuta-3.so.0 anjuta-3.8.4_1 libgmlib.so.1 gmtk-1.0.8_1 libgmtk.so.1 gmtk-1.0.8_1 diff --git a/srcpkgs/autogen/template b/srcpkgs/autogen/template index 02ae4609f28..bef624ea3ac 100644 --- a/srcpkgs/autogen/template +++ b/srcpkgs/autogen/template @@ -1,7 +1,7 @@ # Template build file for 'autogen'. pkgname=autogen version=5.18.4 -revision=5 +revision=6 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config perl" @@ -14,19 +14,15 @@ homepage="http://autogen.sourceforge.net/" distfiles="${GNU_SITE}/${pkgname}/rel${version}/${pkgname}-${version}.tar.gz" checksum=3cd9f81a8ae7c6865bb9bbbe16c4307a243a1373d0b315a83571cbba1fff725d -replaces="autogen-docs>=0" +replaces="autogen-docs>=0 autogen-devel>=0" post_install() { mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib } -autogen-devel_package() { - short_desc+=" - development files" - depends="${sourcepkg}>=${version}_${revision}" +libopts_package() { + short_desc+=" - argument parsing library" pkg_install() { - vmove usr/include - vmove usr/lib/pkgconfig - vmove usr/share/aclocal - vmove "usr/lib/*.so" + vmove "usr/lib/libopts.so.*" } } diff --git a/srcpkgs/autogen-devel b/srcpkgs/libopts similarity index 100% rename from srcpkgs/autogen-devel rename to srcpkgs/libopts