wok-current view ucl/receipt @ rev 24908
updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 15:21:07 2022 +0100 (2022-04-09) |
parents | 2a21689b0af7 |
children | a23978bfa665 |
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --enable-shared $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }