2013-01-25 08:37:22 +00:00
|
|
|
# Template file for 'upx'
|
|
|
|
pkgname=upx
|
|
|
|
version=3.08
|
2013-01-25 08:54:15 +00:00
|
|
|
revision=2
|
|
|
|
makedepends="ucl perl"
|
2013-01-25 08:37:22 +00:00
|
|
|
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
|
2013-01-25 08:54:15 +00:00
|
|
|
cd doc && make upx.1
|
2013-01-25 08:37:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall src/upx.out 755 usr/bin upx
|
|
|
|
vinstall doc/upx.1 644 usr/share/man/man1
|
|
|
|
}
|
2013-04-14 13:20:19 +00:00
|
|
|
|
|
|
|
upx_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|