wok-6.x view splashutils/receipt @ rev 24348
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 02 18:01:43 2022 +0000 (2022-02-02) |
parents | 7e9229845349 |
children | ad0bc3efbf37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="splashutils"
4 VERSION="1.5.4.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Framebuffer boot splash screen"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2 GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/fbsplash.berlios/"
11 WGET_URL="$SF_MIRROR/fbsplash.berlios/$TARBALL"
13 DEPENDS="bzlib freetype libjpeg gpm"
14 BUILD_DEPENDS="autoconf automake libtool jpeg-dev gpm-dev libpng-dev \
15 freetype-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/fbsplash.berlios/files/ 2>/dev/null | \
21 sed '/splashutils-[0-9]/!d;s|.*utils-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf --install --force
28 LIBS="-lbz2"
29 ./configure \
30 --sysconfdir=/etc \
31 --without-klibc \
32 $CONFIGURE_ARGS || exit 1
33 sed -i 's|-all-static||' $src/src/Makefile
34 make -j 1 && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/sbin $fs
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }