mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 11:11:40 +01:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=texinfo
|
|
pkgver=6.3
|
|
pkgrel=0
|
|
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
|
|
url="http://www.gnu.org/software/texinfo/"
|
|
arch="all"
|
|
license='GPL3+'
|
|
depends="perl"
|
|
makedepends="ncurses-dev perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir"/ install || return 1
|
|
|
|
rm -f "$pkgdir"/usr/share/info/dir
|
|
gzip "$pkgdir"/usr/share/info/*
|
|
|
|
rm -rf "$pkgdir"/usr/lib/charset.alias
|
|
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
|
|
return 0
|
|
}
|
|
|
|
md5sums="32baefe5c7080dfb512a4eac5ce67b2a texinfo-6.3.tar.xz"
|
|
sha256sums="246cf3ffa54985118ec2eea2b8d0c71b92114efe6282c2ae90d65029db4cf93a texinfo-6.3.tar.xz"
|
|
sha512sums="ef6c5878d9db497d7963bd9138418b30c39a5605c215bf2f4e8f1f083d93c3c99f8c459aa675f7da3b78da6189cb6bbf3cf19a2ee1d52e569de2f6ce82762bf4 texinfo-6.3.tar.xz"
|