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