From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- skip/ext-dump/ext-dump.xibuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 skip/ext-dump/ext-dump.xibuild (limited to 'skip/ext-dump') diff --git a/skip/ext-dump/ext-dump.xibuild b/skip/ext-dump/ext-dump.xibuild new file mode 100644 index 0000000..fa8e285 --- /dev/null +++ b/skip/ext-dump/ext-dump.xibuild @@ -0,0 +1,35 @@ +#!/bin/sh + +NAME="ext-dump" +DESC="ext2 dump and restore utilities" + +MAKEDEPS="make musl " + +PKG_VER=0.4b47 +SOURCE="https://sourceforge.net/projects/dump/files/dump/$PKG_VER/dump-$PKG_VER.tar.gz/download" + +prepare () { + + for f in \ + compat/include/compatglob.h \ + compat/include/compaterr.h \ + compat/lib/compaterr.c; + do + + sed -i 's/__BEGIN_DECLS/#ifdef __cplusplus\nextern "C" {\n#endif/g' $f + sed -i 's/__END_DECLS/#ifdef __cplusplus\n}\n#endif/g' $f + done +} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1