summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-06-12 23:46:20 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-06-12 23:46:20 +0000
commita376cc533e73642cb02c1af58ffdfe1affe89e8c (patch)
treeb3fc7701714e656a1b52e5bb26ce8ced6e355cf5
parentf25c632def0d17fad7a07d5bebdbb242c5785465 (diff)
parent1f52c903fc016e02e40ffc3944b9af8ae837f2b8 (diff)
downloadpackages-a376cc533e73642cb02c1af58ffdfe1affe89e8c.tar.gz
packages-a376cc533e73642cb02c1af58ffdfe1affe89e8c.tar.bz2
packages-a376cc533e73642cb02c1af58ffdfe1affe89e8c.tar.xz
packages-a376cc533e73642cb02c1af58ffdfe1affe89e8c.zip
Merge branch 'f2fs-tools' into 'master'
user/f2fs-tools: new port See merge request adelie/packages!433
-rw-r--r--user/f2fs-tools/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/f2fs-tools/APKBUILD b/user/f2fs-tools/APKBUILD
new file mode 100644
index 000000000..7784c170d
--- /dev/null
+++ b/user/f2fs-tools/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: CyberLeo <cyberleo@cyberleo.net>
+# Maintainer: CyberLeo <cyberleo@cyberleo.net>
+pkgname=f2fs-tools
+pkgver=1.13.0
+pkgrel=0
+pkgdesc="Tools for the Flash-Friendly File System (F2FS)"
+url="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+ OR LGPL-2.1+"
+depends=""
+makedepends="automake autoconf bsd-compat-headers libtool util-linux-dev linux-headers"
+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"
+
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+package() {
+ make install DESTDIR="$pkgdir"
+ install -D -m644 mkfs/f2fs_format_utils.h "$pkgdir"/usr/include/
+}
+
+sha512sums="fd920a19e8705a65395809aeef55791c5678ed31c026cdf41fc173e0dbcacdef1db7e0e184ec1aae8637b1784e2ad6e0207583e918255483fe43c73f89bd7f7f f2fs-tools-1.13.0.tar.gz"