wok annotate upx/receipt @ rev 17331

Add gesftpserver
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 05 13:34:59 2014 +0100 (2014-11-05)
parents 07eb534c4186
children d112594da76e
rev   line source
devl547@11250 1 # SliTaz package receipt.
devl547@11250 2
devl547@11250 3 PACKAGE="upx"
pascal@15891 4 VERSION="3.91"
devl547@11250 5 CATEGORY="system-tools"
devl547@11250 6 SHORT_DESC="Ultimate Packer for eXecutables (free version using UCL compression)"
devl547@11250 7 MAINTAINER="devl547@gmail.com"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@11253 9 WEB_SITE="http://upx.sourceforge.net/"
slaxemulator@11253 10 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
slaxemulator@11253 11 WGET_URL="http://upx.sourceforge.net/download/$TARBALL"
slaxemulator@11253 12 PATCH="http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2"
pascal@14337 13 EXTRA_SOURCE_FILES="$PATCH"
slaxemulator@11253 14
devl547@11250 15 DEPENDS="ucl zlib"
devl547@11250 16 BUILD_DEPENDS="ucl-dev zlib-dev"
devl547@11250 17
devl547@11250 18 # Rules to configure and make the package.
devl547@11250 19 compile_rules()
devl547@11250 20 {
slaxemulator@11253 21 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
slaxemulator@11253 22 wget -P $SOURCES_REPOSITORY $PATCH
slaxemulator@11253 23 tar -xjpf $SOURCES_REPOSITORY/$(basename $PATCH)
slaxemulator@11253 24 CXXFLAGS="$CXXFLAGS -DWITH_ZLIB=1"
devl547@11250 25 cd $src
slaxemulator@11253 26 UPX_LZMADIR=$src make all
devl547@11250 27 }
devl547@11250 28
devl547@11250 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@11250 30 genpkg_rules()
devl547@11250 31 {
devl547@11250 32 mkdir -p $fs/usr/bin
slaxemulator@11253 33 cp -a $src/src/upx.out $fs/usr/bin/upx
devl547@11250 34 }