feather/contrib/depends/packages/xorgproto.mk
2024-04-02 12:27:08 +02:00

29 lines
943 B
Makefile

package=xorgproto
$(package)_version=2024.1
$(package)_download_path=https://xorg.freedesktop.org/archive/individual/proto
$(package)_file_name=xorgproto-$($(package)_version).tar.xz
$(package)_sha256_hash=372225fd40815b8423547f5d890c5debc72e88b91088fbfb13158c20495ccb59
define $(package)_set_vars
$(package)_config_opts=--without-fop --without-xmlto --without-xsltproc --disable-specs
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
endef
define $(package)_preprocess_cmds
find . -type f -name 'Makefile.in' -exec rm {} + && \
rm aclocal.m4 compile config.guess config.sub configure install-sh missing test-driver && \
autoreconf -fi && \
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
endef
define $(package)_config_cmds
$($(package)_autoconf)
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef