wok-next view upx391/receipt @ rev 21071

Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 13 00:46:54 2018 +0200 (2018-12-13)
parents cd7906120828
children
line source
1 # SliTaz package receipt v2.
3 # Note. While the latest UPX works as expected, it can't decompress some
4 # executables packed with UPX-1.25 and shipped with the package httpfs-fuse.
5 # Error message produced with the UPX 3.92-3.94:
6 # upx: <filename>: Exception: compressed data violation
8 PACKAGE="upx391"
9 VERSION="3.91"
10 CATEGORY="system-tools"
11 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
12 MAINTAINER="devl547@gmail.com"
13 LICENSE="GPL2"
14 WEB_SITE="https://upx.github.io/"
15 REPOLOGY="upx"
17 TARBALL="upx-$VERSION.tar.gz"
18 WGET_URL="https://github.com/upx/upx/archive/v$VERSION.tar.gz"
19 WGET_URL2="$SF_MIRROR/sevenzip/lzma465.tar.bz2"
21 BUILD_DEPENDS="ucl-dev zlib-dev perl"
23 compile_rules() {
24 TARBALL2="$(basename $WGET_URL2)"
25 SRC2="$SRC/$TARBALL2"
26 [ -s "$SRC2" ] || wget -O "$SRC2" "$WGET_URL2"
27 tar -xf "$SRC2"
29 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1 -Wno-error=misleading-indentation"
30 UPX_LZMADIR=$src make all || return 1
32 mkdir -p $install/usr/bin $install/usr/share/man/man1
33 cp -a $src/src/upx.out $install/usr/bin/upx
34 cp -a $src/doc $install/usr/share
35 rm $install/usr/share/doc/Makefile
36 mv $install/usr/share/doc/upx.1 $install/usr/share/man/man1
37 }
39 genpkg_rules() {
40 copy upx
41 DEPENDS="ucl zlib"
42 }