about summary refs log tree commit diff stats
path: root/core/ports/dracut/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'core/ports/dracut/Pkgfile')
-rw-r--r--core/ports/dracut/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/ports/dracut/Pkgfile b/core/ports/dracut/Pkgfile
new file mode 100644
index 0000000..a55531e
--- /dev/null
+++ b/core/ports/dracut/Pkgfile
@@ -0,0 +1,23 @@
+# Description:  dracut is an event driven initramfs infrastructure. 
+# URL:          https://dracut.wiki.kernel.org/
+# Packager:     Silvino, silvino at bk dot ru
+# Depends on:   grub2 nbd nfs-utils lvm2 mdadm
+
+name=dracut
+version=044
+release=4
+source=(https://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz
+README)
+
+build() {
+    cd $name-$version
+
+    ./configure --prefix=/usr
+
+    make
+    make DESTDIR=$PKG install
+    mv $PKG/usr/share/man $PKG/usr/
+    cd $PKG
+    find . -name "README" | xargs rm
+
+}