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.
This commit is contained in:
parent
d900c05fe3
commit
ab0d796556
3 changed files with 6 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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.*"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue