wok-current annotate ucl/receipt @ rev 25738

Update get-LibreOffice for current64, add libavahi for LibreOffice draw
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 29 10:54:12 2025 +0000 (31 hours ago)
parents a23978bfa665
children
rev   line source
devl547@11250 1 # SliTaz package receipt.
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/"
devl547@11250 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@11250 11 WGET_URL="$WEB_SITE/download/$TARBALL"
devl547@11250 12
shann@25728 13 HOST_ARCH="i486 x86_64"
shann@25728 14
pascal@24427 15 # What is the latest version available today?
pascal@24427 16 current_version()
pascal@24427 17 {
pascal@24427 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24427 19 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 20 }
pascal@24427 21
devl547@11250 22 # Rules to configure and make the package.
devl547@11250 23 compile_rules()
devl547@11250 24 {
devl547@11250 25 cd $src
shann@25629 26
shann@25629 27 # Use std=gnu89 to compile with gcc > 4.x
shann@25629 28 export CFLAGS="-std=gnu89"
shann@25629 29
slaxemulator@11253 30 ./configure --enable-shared $CONFIGURE_ARGS &&
slaxemulator@11253 31 make && make install
devl547@11250 32 }
devl547@11250 33
devl547@11250 34 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@11250 35 genpkg_rules()
devl547@11250 36 {
slaxemulator@11253 37 mkdir -p $fs/usr/lib
pascal@15363 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@11250 39 }