summaryrefslogtreecommitdiff
path: root/system/texinfo/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-17 01:28:48 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-17 01:28:48 -0500
commit7b6a2186f624420b1972179dddb03535841909ae (patch)
treed1e29ac7e579369999c25e58853b5bdf27ac3693 /system/texinfo/APKBUILD
parent4c6f99229fbcf0a254bdd8ad9f63afd155e68485 (diff)
downloadpackages-7b6a2186f624420b1972179dddb03535841909ae.tar.gz
packages-7b6a2186f624420b1972179dddb03535841909ae.tar.bz2
packages-7b6a2186f624420b1972179dddb03535841909ae.tar.xz
packages-7b6a2186f624420b1972179dddb03535841909ae.zip
system/texinfo: add for libffi
Diffstat (limited to 'system/texinfo/APKBUILD')
-rw-r--r--system/texinfo/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/system/texinfo/APKBUILD b/system/texinfo/APKBUILD
new file mode 100644
index 000000000..c701bae60
--- /dev/null
+++ b/system/texinfo/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=texinfo
+pkgver=6.5
+pkgrel=2
+pkgdesc="Utilities to manage on-line documentation"
+url="https://www.gnu.org/software/texinfo/"
+arch="all"
+license="GPL-3.0+"
+depends="perl"
+makedepends="ncurses-dev perl-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir"/ install
+
+ rm -f "$pkgdir"/usr/share/info/dir
+ gzip "$pkgdir"/usr/share/info/*
+}
+
+sha512sums="06831b4c74a1ba7a9cff937069e40ab26db1204aa8761d63254651ffacf6b0cb95d7078ba1cc59d95427239ab7e4f4aedf582967854281bfea3850b1ed5b1fdc texinfo-6.5.tar.xz"