23 lines
676 B
Makefile
23 lines
676 B
Makefile
# Makefile - hhl - /usr/src/world/pcre
|
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
|
distname = pcre
|
|
distext = bz2
|
|
include world.mk
|
|
|
|
config_opts += --host=$(tgt)
|
|
config_opts += --with-sysroot=$(DESTDIR)
|
|
config_opts += --docdir=$(install_prefix)/share/doc/pcre/$(pcre_version)
|
|
config_opts += --enable-unicode-properties
|
|
config_opts += --enable-pcre16
|
|
config_opts += --enable-pcre32
|
|
config_opts += --enable-pcregrep-libz
|
|
config_opts += --enable-pcregrep-libbz2
|
|
config_opts += --disable-static
|
|
|
|
define post_install
|
|
mv -v $(libdir)/libpcre.so.* $(DESTDIR)/lib
|
|
ln -sfv ../../lib/$$(readlink $(libdir)/libpcre.so) $(libdir)/libpcre.so
|
|
endef
|
|
|
|
include targets.mk
|