alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

abuild (400B)


      1 name=gptfdisk
      2 version=1.0.10
      3 release=1
      4 source="https://downloads.sourceforge.net/$name/$name-$version.tar.gz
      5 	gptfdisk-1.0.9-convenience-1.patch
      6 	fix-musl.patch"
      7 
      8 prebuild() {
      9 	sed -i 's|ncursesw/||' gptcurses.cc
     10 	sed -i 's|sbin|usr/sbin|' Makefile
     11 	sed -i '/UUID_H/s/^.*$/#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)/' guid.cc
     12 	sed -i "/device =/s/= \(.*\);/= strdup(\1);/" gptcl.cc
     13 }