diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 13:34:30 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 13:34:30 +0000 |
commit | 84b0977d2ce9afd6323b224578984cd448f750a3 (patch) | |
tree | 36ac84bfa7f47374e2941c08ebf1814be9052a19 /community/multitail | |
parent | cb84a32c1f8e03464899dfe6587d8f66c2b56cd8 (diff) | |
download | aports-84b0977d2ce9afd6323b224578984cd448f750a3.tar.bz2 aports-84b0977d2ce9afd6323b224578984cd448f750a3.tar.xz |
community/multitail: moved from testing
Diffstat (limited to 'community/multitail')
-rw-r--r-- | community/multitail/APKBUILD | 41 | ||||
-rw-r--r-- | community/multitail/fix-ncursesw-include.patch | 14 |
2 files changed, 55 insertions, 0 deletions
diff --git a/community/multitail/APKBUILD b/community/multitail/APKBUILD new file mode 100644 index 0000000000..b82f962ebb --- /dev/null +++ b/community/multitail/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=multitail +pkgver=6.4.2 +pkgrel=1 +pkgdesc="MultiTail lets you view one or multiple files like the original tail program" +arch="all" +url="http://www.vanheusden.com/multitail" +license="GPL2" +depends_dev="" +depends="ncurses coreutils" +makedepends="ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.vanheusden.com/multitail/$pkgname-$pkgver.tgz + fix-ncursesw-include.patch" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + make -C "$builddir" || return 1 +} + +package() { + cd $builddir + make DESTDIR="$pkgdir" install || return 1 + + mv "$pkgdir"/usr/share/doc/$pkgname-$pkgver \ + "$pkgdir"/usr/share/doc/$pkgname || return 1 + mv "$pkgdir"/etc/multitail \ + "$pkgdir"/usr/share/doc/$pkgname/examples || return 1 + mv "$pkgdir"/etc/$pkgname.conf.new "$pkgdir"/etc/$pkgname.conf || return 1 +} + +md5sums="a0959f7b2385061080712afd8ae6e33d multitail-6.4.2.tgz +7c5935cb04737f648f104e9f2b9eb96e fix-ncursesw-include.patch" +sha256sums="af1d5458a78ad3b747c5eeb135b19bdca281ce414cefdc6ea0cff6d913caa1fd multitail-6.4.2.tgz +766c463182e80756be797423f97185f6619f04c0cb1c3c63f897a99bbe6a9f38 fix-ncursesw-include.patch" +sha512sums="668c453372ba1e4013aa5191c697bdcaad82c84732841c120a506bee063d2134941e93aed63f96e5aeeb6045829a13aba012f9514dbd9520ab4f1b9b75b42dbd multitail-6.4.2.tgz +8ab00ff267974cff4c64075e9c0b89cf1c90aebb001a38b41a0d6832d6f49e7838869c5dff12f6e05f5622001726b6bec0b5e7132832087a8ef89f2916e287b3 fix-ncursesw-include.patch" diff --git a/community/multitail/fix-ncursesw-include.patch b/community/multitail/fix-ncursesw-include.patch new file mode 100644 index 0000000000..33c1051804 --- /dev/null +++ b/community/multitail/fix-ncursesw-include.patch @@ -0,0 +1,14 @@ +diff -upr multitail-6.4.2.orig/mt.h multitail-6.4.2/mt.h +--- multitail-6.4.2.orig/mt.h 2015-10-03 01:53:00.408700746 +0200 ++++ multitail-6.4.2/mt.h 2015-10-03 01:53:03.935011348 +0200 +@@ -60,8 +60,8 @@ typedef enum { SCHEME_TYPE_EDIT = 0, SCH + #endif + + #ifdef UTF8_SUPPORT +- #include <ncursesw/panel.h> +- #include <ncursesw/ncurses.h> ++ #include <panel.h> ++ #include <ncurses.h> + #else + #if defined(sun) || defined(__sun) || defined(scoos) || defined(_HPUX_SOURCE) || defined(AIX) || defined(__CYGWIN__) + #include <ncurses/panel.h> |