wok view splashutils/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents e919c5a2742d
children 69e1e705f038
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 }