wok-6.x view upx/receipt @ rev 11809

Up: libvorbis (1.3.3) - Security fix(possibly execute arbitrary code via a crafted Ogg Vorbis file)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 25 16:58:51 2012 +0100 (2012-02-25)
parents b80e7d1d930e
children b2a632fc9587
line source
1 # SliTaz package receipt.
3 PACKAGE="upx"
4 VERSION="3.07"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
7 MAINTAINER="devl547@gmail.com"
8 WEB_SITE="http://upx.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
10 WGET_URL="http://upx.sourceforge.net/download/$TARBALL"
11 PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
13 DEPENDS="ucl zlib"
14 BUILD_DEPENDS="ucl-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
20 wget -P $SOURCES_REPOSITORY $PATCH
21 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH)
22 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
23 cd $src
24 UPX_LZMADIR=$src make all
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/src/upx.out $fs/usr/bin/upx
32 }