wok-next diff giflib/receipt @ rev 20180

opencc: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 12:28:56 2017 +0100 (2017-11-02)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/giflib/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/giflib/receipt	Thu Nov 02 12:28:56 2017 +0100
     1.3 @@ -1,18 +1,18 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="giflib"
     1.8  VERSION="5.1.4"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="A library for processing GIFs."
    1.11 +SHORT_DESC="A library and utilities for processing GIFs"
    1.12  MAINTAINER="rcx@zoominternet.net"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="https://sourceforge.net/projects/giflib/"
    1.15  HOST_ARCH="i486 arm"
    1.16  
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +TARBALL="giflib-$VERSION.tar.bz2"
    1.20 +WGET_URL="$SF_MIRROR/giflib/$TARBALL"
    1.21  
    1.22 -DEPENDS="glibc-base"
    1.23 +SPLIT="giflib-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -26,5 +26,8 @@
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	copy bin/ *.so*
    1.32 +	case $PACKAGE in
    1.33 +		giflib) copy @std;;
    1.34 +		*-dev)  copy @dev;;
    1.35 +	esac
    1.36  }