blob: 0d4cf847a4e9f1c5e20998999afe0d1f68d71567 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=e2fsprogs
pkgver=1.42.9
pkgrel=0
pkgdesc="Standard Ext2/3/4 filesystem utilities"
url="http://e2fsprogs.sourceforge.net"
arch="all"
license="GPL LGPL MIT"
depends=
install=
makedepends="util-linux-dev pkgconfig"
subpackages="$pkgname-dev $pkgname-doc libcom_err"
source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz
fix_uint64_t.patch"
depends_dev="util-linux-dev"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--mandir=/usr/share/man \
--enable-elf-shlibs \
--disable-fsck \
--disable-uuidd \
--disable-libuuid \
--disable-libblkid \
--disable-tls \
--disable-nls \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install install-libs || return 1
}
libcom_err() {
depends=
replaces="e2fsprogs"
mkdir -p "$subpkgdir"/lib
mv "$pkgdir"/lib/libcom_err* "$subpkgdir"/lib/
}
md5sums="3f8e41e63b432ba114b33f58674563f7 e2fsprogs-1.42.9.tar.gz
64cc1406a634a16b6e411a49e67715e9 fix_uint64_t.patch"
sha256sums="2f92ac06e92fa00f2ada3ee67dad012d74d685537527ad1241d82f2d041f2802 e2fsprogs-1.42.9.tar.gz
4ad117a5bbd9d134b0e65b89094c3efe276c3a3456f45bd7842dd046803ec861 fix_uint64_t.patch"
sha512sums="31041c45bc4e4a37fc4a1026424e15d4fc8fbf990c968fc9fba92861d9bec15f192dee8d5341cc2215af30a86b0bdb12d8a01f3c113b79a66c65f4a737136bb7 e2fsprogs-1.42.9.tar.gz
b8645d1d83527f1ddd8a59b8a3f4658b226d76fc381fde6f38f77d3866038541a237d3a31ced657ad9950c798da299b33cdf55b138f71ab352d62969d9b995ae fix_uint64_t.patch"
|