wok-next view ucl/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 3a6b97ad0a64
children 10df65db91ad
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ucl"
4 VERSION="1.03"
5 CATEGORY="system-tools"
6 SHORT_DESC="Portable lossless data compression library written in ANSI C"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.oberhumer.com/opensource/ucl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 BUILD_DEPENDS="gfortran"
15 SPLIT="ucl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-shared \
22 $CONFIGURE_ARGS &&
23 make && make install
25 docdir=$install/usr/share/doc/ucl-$VERSION
26 mkdir -p $docdir
27 cp AUTHORS NEWS README THANKS TODO $docdir
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 ucl) copy @std;;
35 *-dev) copy @dev;;
36 esac
37 }