master
/ miniconda3 / pkgs / libev-4.33-h7f8727e_1 / info / recipe / install.sh

install.sh @a663dc1 raw · history · blame

#!/usr/bin/env bash

make install

if [[ "$PKG_NAME" == *static ]]; then
	# relying on conda to dedup package
	echo "Keeping all files, conda will dedupe"
else
	rm -rf ${PREFIX}/lib/libev.a
fi

if [[ "$PKG_NAME" != *-libevent ]]; then
	rm "${PREFIX}/include/event.h"
fi