mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
39 lines
1013 B
Plaintext
39 lines
1013 B
Plaintext
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
|
|
# Contributor: Christian Kampka <christian@kampka.net>
|
|
pkgname=s6-linux-utils
|
|
pkgver=2.5.0.1
|
|
pkgrel=0
|
|
pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size."
|
|
url="http://skarnet.org/software/$pkgname/"
|
|
arch="all"
|
|
license="ISC"
|
|
options="!check"
|
|
makedepends="skalibs-dev linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--enable-shared \
|
|
--enable-static \
|
|
--disable-allstatic \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
doc() {
|
|
default_doc
|
|
mkdir -p "$subpkgdir/usr/share/doc"
|
|
cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
sha512sums="bc4693486299d1027b6ce908684fe2c66b8173b17baad3bb35a660f1d42f00e48ae56c762c17d162c7be978f7246a9ac5218a5c93c0b93f24b5dc881782329d5 s6-linux-utils-2.5.0.1.tar.gz"
|