pkgsrc-wip/upx/Makefile
Ben Collver e9b3cdea25 UPX is a free, portable, extendable, high-performance executable packer for
several different executable formats. It achieves an excellent compression
ratio and offers very fast decompression. Your executables suffer no memory
overhead or other drawbacks because of in-place decompression.

TODO:

* UPX does not pack NetBSD binaries, but it can be built on NetBSD and
  used to manipulate Linux binaries.

* The UPX packed Linux binary I tried to run under Linux emulation did
  not work, so I resorted to building UPX and unpacking the binary.  I
  should have worked on resolving the conflict between COMPAT_LINUX
  and the UPX stub, if I had the time.

* Verify whether this builds and runs on architectures other than i386.

* Make patches only apply for NetBSD build, and not for Linux build.
2003-09-24 06:21:43 +00:00

23 lines
558 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2003/09/24 06:21:43 bencollver Exp $
#
DISTNAME= upx-1.24-src
PKGNAME= upx-1.24
WRKSRC= ${WRKDIR}/${PKGNAME}/src
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=upx/}
MAINTAINER= collver1@comcast.net
HOMEPAGE= http://upx.sourceforge.net/
COMMENT= Ultimate Packer for eXecutables
BUILD_DEPENDS+= perl>=5.6.1nb9:../../lang/perl5
DEPENDS+= ucl>=1.01:../../devel/ucl
USE_GMAKE= yes
MAKE_ENV+= target=linux UCLDIR=${PREFIX}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/upx ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"