summaryrefslogtreecommitdiff
path: root/system/e2fsprogs/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-04 00:15:35 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-04 00:15:35 -0500
commit27de4b3be3053746a9a1bce122936fe81d66f5f6 (patch)
treef3014aac899286066656170bbad6e78f594365ce /system/e2fsprogs/APKBUILD
parente94d026c441d58415783436819e83a8143578077 (diff)
downloadpackages-27de4b3be3053746a9a1bce122936fe81d66f5f6.tar.gz
packages-27de4b3be3053746a9a1bce122936fe81d66f5f6.tar.bz2
packages-27de4b3be3053746a9a1bce122936fe81d66f5f6.tar.xz
packages-27de4b3be3053746a9a1bce122936fe81d66f5f6.zip
system/e2fsprogs: bump and finally close #25
Diffstat (limited to 'system/e2fsprogs/APKBUILD')
-rw-r--r--system/e2fsprogs/APKBUILD64
1 files changed, 64 insertions, 0 deletions
diff --git a/system/e2fsprogs/APKBUILD b/system/e2fsprogs/APKBUILD
new file mode 100644
index 000000000..748fab308
--- /dev/null
+++ b/system/e2fsprogs/APKBUILD
@@ -0,0 +1,64 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer:
+pkgname=e2fsprogs
+pkgver=1.44.2
+pkgrel=0
+pkgdesc="Standard ext2/3/4 filesystem utilities"
+url="http://e2fsprogs.sourceforge.net"
+arch="all"
+options="!checkroot"
+license="GPL-2.0-only AND LGPL-2.0-only AND MIT"
+depends=""
+depends_dev="util-linux-dev"
+makedepends="$depends_dev linux-headers"
+subpackages="$pkgname-lang $pkgname-dev $pkgname-doc libcom_err $pkgname-libs"
+source="https://www.kernel.org/pub/linux/kernel/people/tytso/$pkgname/v$pkgver/$pkgname-$pkgver.tar.xz
+ debugfs-spurious-message.patch
+ test-patch.patch
+ "
+
+build () {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --mandir=/usr/share/man \
+ --enable-elf-shlibs \
+ --enable-symlink-install \
+ --disable-fsck \
+ --disable-uuidd \
+ --disable-libuuid \
+ --disable-libblkid \
+ --disable-tls
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 LDCONFIG=: DESTDIR="$pkgdir" install install-libs
+}
+
+dev() {
+ default_dev
+ mkdir -p "$subpkgdir"/usr/bin
+ mkdir -p "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/bin/compile_et "$pkgdir"/usr/bin/mk_cmds \
+ "$subpkgdir"/usr/bin/
+ mv "$pkgdir"/usr/share/et "$pkgdir"/usr/share/ss \
+ "$subpkgdir"/usr/share
+}
+
+libcom_err() {
+ pkgdesc="Common error description library"
+ mkdir -p "$subpkgdir"/lib
+ mv "$pkgdir"/lib/libcom_err* "$subpkgdir"/lib/
+}
+
+sha512sums="db34be8c2b606da565a46635d9ed859ccc28921c9a494dd90fbe461a400d0411b0ec6582d3a858adc916d68ec5e835814da798f1cb44710b75fc4efe0145eb90 e2fsprogs-1.44.2.tar.xz
+4e224a46beb73147485fe47de06bdf451c5a2fd4ea3835364f57d53d4ee80f2cb807a25bce40bacfa9abe1e0f81d1a4b1be5cb160b5c1103de6492288c5f8b7a debugfs-spurious-message.patch
+2718073be717f0f3b56147bb375fdffd3328cf920b12b474313f9c993184b73228b4478a91ba7913ef08a1119320ce1befe6eab20858c9ebc1c4b4890483f687 test-patch.patch"