wok-6.x view splashutils/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
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 }