void-packages/srcpkgs/upx/template

29 lines
615 B
Plaintext

# Template file for 'upx'
pkgname=upx
version=3.08
revision=2
makedepends="ucl perl"
short_desc="Ultimate Packer for eXecutables"
wrksrc="upx-${version}-src"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://upx.sourceforge.net/"
license="GPL-2"
distfiles="http://upx.sourceforge.net/download/upx-${version}-src.tar.bz2"
checksum=c6d873925ef0d5422b9320c7075ef9be5981a6f99418469ce067becd68de65eb
do_build() {
make ${makejobs} all
cd doc && make upx.1
}
do_install() {
vinstall src/upx.out 755 usr/bin upx
vinstall doc/upx.1 644 usr/share/man/man1
}
upx_package() {
pkg_install() {
vmove usr
}
}