wok-next view upx391/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }