wok view libburn/receipt @ rev 25770
dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 11:29:23 2024 +0000 (2 months ago) |
parents | 365a61a60277 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libburn"
4 VERSION="1.5.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Library for reading, mastering and writing optical disks."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://dev.lovelyhq.com/libburnia/web/wiki"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.libburnia-project.org/releases/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install DESTDIR=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cook_copy_files *.so*
33 }