feather/contrib/depends/packages/xorgproto.mk

30 lines
943 B
Makefile
Raw Normal View History

2023-07-19 20:12:11 +00:00
package=xorgproto
2024-04-02 10:27:08 +00:00
$(package)_version=2024.1
2023-07-19 20:12:11 +00:00
$(package)_download_path=https://xorg.freedesktop.org/archive/individual/proto
$(package)_file_name=xorgproto-$($(package)_version).tar.xz
2024-04-02 10:27:08 +00:00
$(package)_sha256_hash=372225fd40815b8423547f5d890c5debc72e88b91088fbfb13158c20495ccb59
2022-12-23 15:43:34 +00:00
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
2024-04-02 10:27:08 +00:00
find . -type f -name 'Makefile.in' -exec rm {} + && \
rm aclocal.m4 compile config.guess config.sub configure install-sh missing test-driver && \
autoreconf -fi && \
2022-12-23 15:43:34 +00:00
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