wok-next diff fbida/receipt @ rev 20996

Move fonts-liberation*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 16:01:47 2018 +0300 (2018-10-04)
parents c4e53a39395a
children d5aab818505e
line diff
     1.1 --- a/fbida/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/fbida/receipt	Thu Oct 04 16:01:47 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fbida"
     1.8  VERSION="2.09"
     1.9 @@ -6,26 +6,24 @@
    1.10  SHORT_DESC="Image viewer for the framebuffer console"
    1.11  MAINTAINER="devl547@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://linux.bytesex.org/fbida/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://linux.bytesex.org/fbida/"
    1.17  WGET_URL="http://dl.bytesex.org/releases/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="libpng16 giflib tiff jpeg ttf-bitstream-vera libexif zlib \
    1.20 -libcurl freetype fontconfig"
    1.21  BUILD_DEPENDS="freetype-dev fontconfig-dev libexif-dev curl-dev jpeg-dev \
    1.22  libpng16-dev tiff-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	make
    1.28 +compile_rules() {
    1.29 +	make || return 1
    1.30 +
    1.31 +	install -Dm755 $src/fbi      $install/usr/bin/fbi
    1.32 +	install -Dm755 $src/fbgs     $install/usr/bin/fbgs
    1.33 +	install -Dm755 $src/exiftran $install/usr/bin/exiftran
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	mkdir -p $fs/usr/bin
    1.40 -	for tool in fbi fbgs exiftran; do
    1.41 -		cp -a ${src}/${tool} $fs/usr/bin
    1.42 -	done
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="libpng16 giflib tiff jpeg ttf-bitstream-vera libexif zlib \
    1.46 +	libcurl freetype fontconfig"
    1.47  }