void-packages/srcpkgs/upx/template

23 lines
636 B
Bash

# Template file for 'upx'
pkgname=upx
version=3.96
revision=1
wrksrc="upx-${version}-src"
build_style=gnu-makefile
make_build_target=all
make_build_args="CHECK_WHITESPACE=: CXXFLAGS_WERROR="
make_use_env=yes
hostmakedepends="perl"
makedepends="ucl zlib-devel"
short_desc="Ultimate Packer for eXecutables"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://upx.github.io/"
distfiles="https://github.com/upx/upx/releases/download/v${version}/upx-${version}-src.tar.xz"
checksum=47774df5c958f2868ef550fb258b97c73272cb1f44fe776b798e393465993714
do_install() {
vbin src/upx.out upx
vman doc/upx.1
}