star-build

Automation tool for project installation
git clone git://git.meso-star.com/star-build.git
Log | Files | Refs | README | LICENSE

netcdf-patch_4.9.3.mk (471B)


      1 netcdf-patch:
      2 	prefix="$$(cat .prefix)" &&\
      3 	path="$${prefix}/lib/pkgconfig" &&\
      4 	rm -f "$${path}/netcdf.pc" &&\
      5 	pc="$$(pkg-config --path netcdf)" &&\
      6 	mkdir -p "$${path}" &&\
      7 	sed -e 's/HDF5::HDF5/hdf5/' \
      8 	    -e 's/hdf5::hdf5_hl/hdf5_hl/' \
      9 	    -e 's/CURL::libcurl/curl/' "$${pc}" > "$${path}/netcdf.pc"
     10 
     11 uninstall_netcdf-patch:
     12 	prefix=$$(cat .prefix) &&\
     13 	rm -f "$${prefix}/lib/pkgconfig/netcdf.pc"
     14 
     15 install_all: netcdf-patch
     16 uninstall_all: uninstall_netcdf-patch