diff --git a/recipes/bzip2/Makefile b/recipes/bzip2/Makefile new file mode 100644 index 0000000..9e84a8c --- /dev/null +++ b/recipes/bzip2/Makefile @@ -0,0 +1,13 @@ +name = bzip2 +version = 1.0.6 +release = 0 +URL = https://downloads.sourceforge.net/project/bzip2/bzip2-$(version).tar.gz + +MAKE_INSTALL_OPTIONS_USER = PREFIX=$(pkg_fake_root_dir)/$(PREFIX) + +pre_configure: + $(Q)sed -i.orig -e '/^CFLAGS=/s/.*/CFLAGS = -O2 -fPIC/' $(bdir)/Makefile + + +SYSCONF ?= ../../ +include $(SYSCONF)/package.mk