mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Contributor: A. Wilcox <awilfox@adelielinux.org>
|
|
# Maintainer:
|
|
pkgname=man-db
|
|
pkgver=2.10.2
|
|
pkgrel=0
|
|
pkgdesc="The man command and related utilities for examining on-line help files"
|
|
url="https://nongnu.org/man-db/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="groff less !mandoc !mandoc-apropos"
|
|
makedepends="gdbm-dev gettext-dev libpipeline-dev zlib-dev libseccomp-dev"
|
|
subpackages="$pkgname-lang $pkgname-doc"
|
|
source="https://download.savannah.nongnu.org/releases/man-db/man-db-$pkgver.tar.xz"
|
|
triggers="man-db.trigger=/usr/share/man"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-setuid \
|
|
--with-sections="1 1p 1x 2 2x 3 3p 3x 4 4x 5 5x 6 6x 7 7x 8 8x 9 0p tcl n l p o" \
|
|
--enable-nls \
|
|
--with-db=gdbm \
|
|
--with-systemdsystemunitdir=no \
|
|
--with-systemdtmpfilesdir=no \
|
|
--with-libseccomp
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
5ad7a7b601aadf4d2d7cc068881fffe3d91dc85fcf4c17e66fbe6e2b04bb1c46f5ba5d4bc7f6ab3f39e00065be39061b101d3064c12b1e89f0fee61c088611bf man-db-2.10.2.tar.xz
|
|
"
|