From 470ca1de238bc2c071a997601c3c629a33a6b00c Mon Sep 17 00:00:00 2001 From: xdave Date: Sat, 27 Jul 2013 23:30:53 -0600 Subject: [PATCH] New package: autogen-5.17.4. --- common/shlibs | 1 + srcpkgs/autogen-devel | 1 + srcpkgs/autogen-docs | 1 + srcpkgs/autogen/template | 54 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 120000 srcpkgs/autogen-devel create mode 120000 srcpkgs/autogen-docs create mode 100644 srcpkgs/autogen/template diff --git a/common/shlibs b/common/shlibs index 521d3e57dcc..cd35947b627 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/autogen-devel b/srcpkgs/autogen-devel new file mode 120000 index 00000000000..563ea1500fd --- /dev/null +++ b/srcpkgs/autogen-devel @@ -0,0 +1 @@ +autogen \ No newline at end of file diff --git a/srcpkgs/autogen-docs b/srcpkgs/autogen-docs new file mode 120000 index 00000000000..563ea1500fd --- /dev/null +++ b/srcpkgs/autogen-docs @@ -0,0 +1 @@ +autogen \ No newline at end of file diff --git a/srcpkgs/autogen/template b/srcpkgs/autogen/template new file mode 100644 index 00000000000..5ab03bcba81 --- /dev/null +++ b/srcpkgs/autogen/template @@ -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 " +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 + } +}