blob: 1ef45eeb1a15368baf53ac49bf7d853582f4590e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=f2fs-tools
pkgver=1.11.0
pkgrel=0
pkgdesc="Tools for the Flash-Friendly File System (F2FS)"
url="http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git"
arch="all"
license="GPL-2.0-or-later LGPL-2.1-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev automake autoconf bsd-compat-headers
libtool util-linux-dev linux-headers"
install=""
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
source="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$pkgname-$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
./autogen.sh
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
install -D -m644 mkfs/f2fs_format_utils.h "$pkgdir"/usr/include/
}
sha512sums="a69fbd01826909576634f40343293addae3a9c3be09bf8210e2abc1ae12f385fe24dd71c623d14a0a15a81d12f404f193981caaadacbd663bc1502de9a8f7fb7 f2fs-tools-1.11.0.tar.gz"
|