blob: 748fab3088375c3dd682a3ebc4c108697fcd02de (
plain) (
blame)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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"
|