mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-24 17:22:15 +01:00
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Sodface <sod@sodface.com>
|
|
# Maintainer: Sodface <sod@sodface.com>
|
|
pkgname=nilfs-utils
|
|
pkgver=2.2.8
|
|
pkgrel=0
|
|
pkgdesc="Utilities for managing NILFS v2 filesystems"
|
|
url="http://nilfs.sourceforge.net"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="autoconf automake libtool linux-headers util-linux-dev"
|
|
options="!check" # no test suite
|
|
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
|
|
source="http://nilfs.sourceforge.net/download/nilfs-utils-$pkgver.tar.bz2
|
|
max-input.patch"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
LDCONFIG=/bin/true \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--without-selinux
|
|
|
|
sed -i \
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
libtool
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
3232390581f63de5ebe7b461b178a40dfbdaa4bc6aa96b218ea8182c5bf81b162a1e632a1c21d9f1e89fdba9393b4e268e001c335a99ce22f645a62ae3154783 nilfs-utils-2.2.8.tar.bz2
|
|
9605c535bed809075df901f265d22b45b3b0c8915e69ea0dbb6ffef039f9e3a9c616f246fab927589a446035341eca2aadb807c0f74e0a9abd01977e09ebd39b max-input.patch
|
|
"
|