diff options
author | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
commit | c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch) | |
tree | 1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/hdparm/hdparm.xibuild | |
parent | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff) |
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/hdparm/hdparm.xibuild')
-rw-r--r-- | repo/hdparm/hdparm.xibuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/hdparm/hdparm.xibuild b/repo/hdparm/hdparm.xibuild new file mode 100644 index 0000000..12cff40 --- /dev/null +++ b/repo/hdparm/hdparm.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="hdparm" +DESC="Utility for manipulating IDE device parameters" + +MAKEDEPS=" linux-headers" + +PKG_VER=9.63 +SOURCE="https://downloads.sourceforge.net/sourceforge/hdparm/hdparm-$PKG_VER.tar.gz" + +prepare() { + apply_patches + sed -i '/^LDFLAGS/d' "$BUILD_ROOT"/Makefile +} + +build() { + export CFLAGS="$CFLAGS -D_GNU_SOURCE" + make +} + +package() { + make DESTDIR="$PKG_DEST" install + install -D -m755 contrib/idectl "$PKG_DEST"/sbin + install -D -m755 contrib/ultrabayd "$PKG_DEST"/sbin + install -D -m644 LICENSE.TXT "$PKG_DEST"/usr/share/licenses/hdparm/LICENSE.TXT +} + |