diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-02-13 19:39:34 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-02-14 11:58:37 +0100 |
commit | 3772e6fbddcace4800674cd431f938091e73e3e4 (patch) | |
tree | 67e286f1f479f2bf50678bf3d23632d1626e8809 /testing/gwenhywfar | |
parent | 8a2b3640f2e14b2b56542ad73b212b5881d7ed64 (diff) | |
download | aports-3772e6fbddcace4800674cd431f938091e73e3e4.tar.bz2 aports-3772e6fbddcace4800674cd431f938091e73e3e4.tar.xz |
testing/gwenhywfar: new aport
Diffstat (limited to 'testing/gwenhywfar')
-rw-r--r-- | testing/gwenhywfar/APKBUILD | 54 | ||||
-rw-r--r-- | testing/gwenhywfar/libintl.patch | 12 |
2 files changed, 66 insertions, 0 deletions
diff --git a/testing/gwenhywfar/APKBUILD b/testing/gwenhywfar/APKBUILD new file mode 100644 index 0000000000..5b35e40f2e --- /dev/null +++ b/testing/gwenhywfar/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=gwenhywfar +pkgver=4.15.3 +_pkgrel=201 +pkgrel=0 +pkgdesc="Multi-platform helper library" +url="http://www.aquamaniac.de/" +arch="all" +license="LGPL" +depends="" +depends_dev="" +makedepends="libgcrypt-dev gnutls-dev gettext-dev automake autoconf" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="$pkgname-$pkgver.tar.gz::https://www.aquamaniac.de/sites/download/download.php?package=01&release=${_pkgrel}&file=01&dummy=$pkgname-$pkgver.tar.gz + libintl.patch" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare || return 1 + + cd "$builddir" + autoreconf -vfi || return 1 +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-guis= \ + --enable-ssl \ + --enable-visibility \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + install -m644 AUTHORS ChangeLog README TODO \ + "$pkgdir"/usr/share/doc/$pkgname \ + || return 1 +} + +sha512sums="a14d625518d94c94491df149f9e746ed8d769f4e43b6df24f51f4269f29005f7431e33e85de0bde0a81a2e876fea8ddad5ed4191114295d6c9ea2e94aba08799 gwenhywfar-4.15.3.tar.gz +fcccf5aa3872f4327205c3c77c5e1b88fbce89d6fe45330f72a38c207b7f6166ca486e70636119a9c16447a3c09e3bad97ed7a1cc5f06db53939f510e2c19cca libintl.patch" diff --git a/testing/gwenhywfar/libintl.patch b/testing/gwenhywfar/libintl.patch new file mode 100644 index 0000000000..fd1cb5e6fe --- /dev/null +++ b/testing/gwenhywfar/libintl.patch @@ -0,0 +1,12 @@ +diff -upr gwenhywfar-4.15.3.orig/configure.ac gwenhywfar-4.15.3/configure.ac +--- gwenhywfar-4.15.3.orig/configure.ac 2017-02-13 19:31:48.741133005 +0100 ++++ gwenhywfar-4.15.3/configure.ac 2017-02-13 19:31:56.051144524 +0100 +@@ -734,7 +734,7 @@ if test "$OS_TYPE" != "windows"; then + oldlibs="$LIBS" + LIBS="" + AC_SEARCH_LIBS(gettext, intl, [], [HAVE_I18N="no"]) +- i18n_libs="$LIBS" ++ i18n_libs="$LIBS -lintl" + LIBS="$oldlibs" + else + i18n_libs="-lintl" |