New package: autogen-5.17.4.

This commit is contained in:
xdave 2013-07-27 23:30:53 -06:00
parent 28c6e8d9e9
commit 470ca1de23
4 changed files with 57 additions and 0 deletions

View File

@ -1383,3 +1383,4 @@ libgda-xslt-5.0.so.4 libgda-5.1.2_1
libdevhelp-3.so.2 devhelp-libs-3.8.2_1
libunistring.so.0 libunistring-0.9.3_1
libguile-2.0.so.22 guile-2.0.9_1
libopts.so.25 autogen-5.17.4_1

1
srcpkgs/autogen-devel Symbolic link
View File

@ -0,0 +1 @@
autogen

1
srcpkgs/autogen-docs Symbolic link
View File

@ -0,0 +1 @@
autogen

54
srcpkgs/autogen/template Normal file
View File

@ -0,0 +1,54 @@
# Template build file for 'autogen'.
pkgname=autogen
version=5.17.4
revision=1
build_style=gnu-configure
short_desc="The Automated Program Generator"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL3"
homepage="http://autogen.sourceforge.net/"
distfiles="${GNU_SITE}/${pkgname}/rel${version}/${pkgname}-${version}.tar.gz"
checksum=cd2585f4794d0e9d7f2cb0b9af4f2bd429946e718473edf1cf8c49f081ca71ed
long_desc="
A tool designed to simplify the creation and maintenance of programs that
contain large amounts of repetitious text. It is especially valuable in
programs that have several blocks of text that must be kept synchronized."
hostmakedepends="pkg-config which guile"
makedepends="guile-devel libxml2-devel gc-devel"
do_configure() {
GUILE_CFLAGS="$(pkg-config --cflags guile-2.0)"
GUILE_LDFLAGS="$(pkg-config --libs guile-2.0)"
./configure ${configure_args} --with-libguile-cflags="${GUILE_CFLAGS}" \
--with-libguile-libs="${GUILE_LDFLAGS}"
}
post_install() {
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}
autogen-devel_package() {
short_desc+=" (Development files)"
depends="autogen"
pkg_install() {
vmove usr/include
vmove usr/lib/libopts.a
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}
autogen-docs_package() {
short_desc+=" (Documentation)"
pkg_install() {
vmove usr/share/info
vmove usr/share/man
}
}
autogen_package() {
pkg_install() {
vmove usr
}
}