wok-6.x view upx/receipt @ rev 17798
Add mate-settings-daemon
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 20 20:01:49 2015 -0300 (2015-03-20) |
parents | 07eb534c4186 |
children | d112594da76e |
line source
1 # SliTaz package receipt.
3 PACKAGE="upx"
4 VERSION="3.91"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://upx.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
11 WGET_URL="http://upx.sourceforge.net/download/$TARBALL"
12 PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
13 EXTRA_SOURCE_FILES="$PATCH"
15 DEPENDS="ucl zlib"
16 BUILD_DEPENDS="ucl-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
22 wget -P $SOURCES_REPOSITORY $PATCH
23 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH)
24 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
25 cd $src
26 UPX_LZMADIR=$src make all
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/src/upx.out $fs/usr/bin/upx
34 }