alicelinux

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

abuild (455B)


      1 name=wireless-tools
      2 n=$(echo $name | sed 's/-/_/')
      3 version=30.pre9
      4 release=1
      5 source="https://hewlettpackard.github.io/$name/${n}.$version.tar.gz
      6 	fix-basename.patch"
      7 
      8 build() {
      9 	# fix compiler flags, build shared library, don't run ldconfig
     10 	sed -i Makefile \
     11 	        -e "s|CFLAGS=|CFLAGS=$CFLAGS |" \
     12 	        -e "/^BUILD_STATIC/d" \
     13 	        -e "/ldconfig/d"
     14 	
     15 	make
     16 	make install \
     17 	        PREFIX=$PKG/usr \
     18 	        INSTALL_MAN=$PKG/usr/share/man
     19 }