From f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:08:34 +0100 Subject: added qemu --- auto/port-alpine.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'auto') diff --git a/auto/port-alpine.sh b/auto/port-alpine.sh index 149572e..e1cda3e 100755 --- a/auto/port-alpine.sh +++ b/auto/port-alpine.sh @@ -15,7 +15,7 @@ additional=$(ls $pkgbuild | grep -v ^APKBUILD$) . $apkbuild -name=${2:-$pkgname} +[ ! -z "$2" ] && name=${2} name=$(echo $pkgname | sed 's/py3-/python-/' ) @@ -78,8 +78,9 @@ sed -i "s/\$srcdir/\$BUILD_ROOT/g" $buildfile sed -i "s/\$builddir/\$BUILD_ROOT/g" $buildfile sed -i "s/^sha512sums=.*$//g" $buildfile # ignore build and host options for configure; we arent cross compiling -sed -i "s/^\w*--build=//g" $buildfile -sed -i "s/^\w*--host=//g" $buildfile +sed -i "s/^\s*--build=.*$//g" $buildfile +sed -i "s/^\s*--host=.*$//g" $buildfile +sed -i "s/default_prepare/apply_patches/g" $buildfile sed -i 's/abuild-meson/meson --prefix=\/usr \\\n/' $buildfile -- cgit v1.2.1