From c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 10 Aug 2022 09:16:34 +0100 Subject: added ovmf, lolcat, spice, and squashfstools --- repo/hdparm/hdparm.xibuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/hdparm/hdparm.xibuild (limited to 'repo/hdparm/hdparm.xibuild') 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 +} + -- cgit v1.2.1