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