kiss-stj

My KISS Linux repo for software I use on my computers.
git clone https://git.stjo.hn/kiss-stj
Log | Files | Refs | README | LICENSE

build (301B)


      1 #!/usr/bin/env sh
      2 
      3 cd util/nvramtool
      4 
      5 sed -e 's/^PREFIX  = \/usr\/local/PREFIX  = \/usr/' \
      6 	-e 's/\$(INSTALL) -p/$(INSTALL)/' \
      7 	Makefile > _
      8 mv -f _ Makefile
      9 
     10 # Fix build for musl systems.
     11 sed 's/__GLIBC__/__linux__/' accessors/cmos-hw-unix.c > _
     12 mv -f _ accessors/cmos-hw-unix.c
     13 
     14 make
     15 make install