wok-current annotate splashutils/receipt @ rev 22170
linld: clear heap in moverm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 10:47:52 2019 +0100 (2019-11-08) |
parents | 5a73713a01e2 |
children | e919c5a2742d |
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@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
al@18973 | 20 autoreconf --install --force |
pascal@13591 | 21 LIBS="-lbz2" |
pascal@13591 | 22 ./configure \ |
pascal@13591 | 23 --sysconfdir=/etc \ |
pascal@13591 | 24 --without-klibc \ |
al@18973 | 25 $CONFIGURE_ARGS || exit 1 |
al@18973 | 26 sed -i 's|-all-static||' $src/src/Makefile |
al@18973 | 27 make -j 1 && make DESTDIR=$DESTDIR install |
pascal@13591 | 28 } |
pascal@13591 | 29 |
pascal@13591 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 31 genpkg_rules() |
pascal@13591 | 32 { |
pascal@13591 | 33 mkdir -p $fs/usr/lib |
pascal@13591 | 34 cp -a $install/sbin $fs |
pascal@13591 | 35 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@13591 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 38 } |