wok annotate ucl/receipt @ rev 24927
updated mpg123 and mpg123-dev (1.25.13 -> 1.29.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 14:23:00 2022 +0100 (2022-04-13) |
parents | 2a21689b0af7 |
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 |
pascal@24427 | 13 # What is the latest version available today? |
pascal@24427 | 14 current_version() |
pascal@24427 | 15 { |
pascal@24427 | 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 18 } |
pascal@24427 | 19 |
devl547@11250 | 20 # Rules to configure and make the package. |
devl547@11250 | 21 compile_rules() |
devl547@11250 | 22 { |
devl547@11250 | 23 cd $src |
slaxemulator@11253 | 24 ./configure --enable-shared $CONFIGURE_ARGS && |
slaxemulator@11253 | 25 make && make install |
devl547@11250 | 26 } |
devl547@11250 | 27 |
devl547@11250 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11250 | 29 genpkg_rules() |
devl547@11250 | 30 { |
slaxemulator@11253 | 31 mkdir -p $fs/usr/lib |
pascal@15363 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@11250 | 33 } |