blob: 8beccbe0861c13e771b82da823061c5920e23254 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=3.0.7
_ver=${pkgver%_git*}
pkgrel=3
pkgdesc="Tool to generate initramfs images for Alpine"
url="http://git.alpinelinux.org/cgit/mkinitfs"
makedepends_build=""
makedepends_host="kmod-dev util-linux-dev cryptsetup-dev linux-headers"
makedepends="$makedepends_build $makedepends_host"
depends="busybox apk-tools>=2.0 lddtree>=1.25"
install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade"
triggers="$pkgname.trigger=/usr/share/kernel/*"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz
0001-ext3-functionality-is-provided-by-ext4-module.patch
0001-add-zpool-import-capability.patch
0001-features-add-nvme.patch
0001-make-install-nvme-and-zfs-files.patch
"
arch="all"
license="GPL2"
builddir="$srcdir"/$pkgname-$_ver
build() {
cd "$builddir"
make VERSION=$pkgver-r$pkgrel || return 1
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="f0ce066554bff1e1a3056c51f2fe4610 mkinitfs-3.0.7.tar.xz
79e61fce422c035296fdf00780f15fb3 0001-ext3-functionality-is-provided-by-ext4-module.patch
7099f430777d916852608ccae5dfd1c7 0001-add-zpool-import-capability.patch
d77cca688d393dab1c08d835a1a49cd6 0001-features-add-nvme.patch
b179b79e988686c86d47f6f02d5c2acd 0001-make-install-nvme-and-zfs-files.patch"
sha256sums="eb80666fa1f2bb4907f13f7f4c09ee8e1b0b1211aba240c9d2a5cc2a1756f1ba mkinitfs-3.0.7.tar.xz
60ba082ac2a542e55de9e5a335f058fe83789ccb25bf8958772e229b93442a78 0001-ext3-functionality-is-provided-by-ext4-module.patch
e815e2ec1571e8f033c3ffaa429a8dbc7bac2fcc7d46e65ca382cc5142c32d56 0001-add-zpool-import-capability.patch
820bb83f3fff5ea3426f0dc11742074269cacd287fd7155e93eea2a2ceceed72 0001-features-add-nvme.patch
1ea7c8140c39a8dac478902bfafe230dfd05b875837b902772e02f8cb89af318 0001-make-install-nvme-and-zfs-files.patch"
sha512sums="a4080f4709500484904aee34f93007a813c6f2470c8ba9a0493245122291e4c7460580f9ca2f3712662d8f8caea306872d0c79fa94f654300c4798a0332c19b2 mkinitfs-3.0.7.tar.xz
815e961b6508c8b6843b8074fa752b6ff7404c1ad0bb2e9ff03211d9c7d7546c7f274fb323934ae455216feb291b05e49f1c5878bc85480757d5b501577151c6 0001-ext3-functionality-is-provided-by-ext4-module.patch
cd395eed6bab80421891a0630c0969ce02bdbc725e3d1d24b0472888f3d847856a9e32f7b20ae41f3527a8c94696a61370396dc32c2dca15b3c837618a4310c9 0001-add-zpool-import-capability.patch
56741b8e8455782e86716721fdc9ad3f59b9c7063d2c0ad512657eced47345da6d69aca1f3b4b59f1c131eecb1c39225bce43f342e693785633f1f6dc0c40c44 0001-features-add-nvme.patch
cec3da5bfba7abbc2c1b3bc4eb738c0ab1938e00964fd053edb2ce44da083b6cca8e43ee5354c13f989dd71128e03421f225c3bf4b9d50f5be47b9fc39354d7c 0001-make-install-nvme-and-zfs-files.patch"
|