wok-6.x rev 5995

jpeg: Upgrade to 8b
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 14 14:18:40 2010 +0000 (2010-08-14)
parents cab8d2e3649f
children e72118e6d18e
files jpeg-dev/receipt jpeg/receipt libjpeg/receipt
line diff
     1.1 --- a/jpeg-dev/receipt	Sat Aug 14 13:25:30 2010 +0000
     1.2 +++ b/jpeg-dev/receipt	Sat Aug 14 14:18:40 2010 +0000
     1.3 @@ -1,31 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="jpeg-dev"
     1.7 -VERSION="6b"
     1.8 +VERSION="8b"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="JPEG images libs."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  WEB_SITE="http://www.ijg.org/"
    1.13  WANTED="jpeg"
    1.14  
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 -    cd $src
    1.19 -    ./configure --prefix=/usr \
    1.20 -    --mandir=/usr/share/man $CONFIGURE_ARGS
    1.21 -    make
    1.22 -}
    1.23 -
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.28 -	cp -a $src/libjpeg.la $fs/usr/lib
    1.29 -	cp -a $src/libjpeg.a $fs/usr/lib
    1.30 -	cp -a $src/jconfig.h $fs/usr/include
    1.31 -	cp -a $src/jerror.h $fs/usr/include
    1.32 -	cp -a $src/jmorecfg.h $fs/usr/include
    1.33 -	cp -a $src/jpegint.h $fs/usr/include
    1.34 -	cp -a $src/jpeglib.h $fs/usr/include
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/include $fs/usr
    1.38  }
     2.1 --- a/jpeg/receipt	Sat Aug 14 13:25:30 2010 +0000
     2.2 +++ b/jpeg/receipt	Sat Aug 14 14:18:40 2010 +0000
     2.3 @@ -1,12 +1,13 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="jpeg"
     2.7 -VERSION="6b"
     2.8 +VERSION="8b"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="JPEG images libs."
    2.11 +SHORT_DESC="JPEG image programs."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13 +DEPENDS="libjpeg"
    2.14  WEB_SITE="http://www.ijg.org/"
    2.15 -TARBALL="jpegsrc.v6b.tar.gz"
    2.16 +TARBALL="jpegsrc.v${VERSION}.tar.gz"
    2.17  WGET_URL="http://www.ijg.org/files/$TARBALL"
    2.18  TAGS="jpeg jpg"
    2.19  
    2.20 @@ -15,17 +16,15 @@
    2.21  {
    2.22      cd $src
    2.23      ./configure --enable-shared --prefix=/usr \
    2.24 -    --mandir=/usr/share/man $CONFIGURE_ARGS
    2.25 -    make
    2.26 +		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.27 +    make &&
    2.28 +	make DESTDIR=$PWD/_pkg install
    2.29  }
    2.30  
    2.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.32  genpkg_rules()
    2.33  {
    2.34 -	mkdir -p $fs/usr/lib $fs/usr/bin
    2.35 -    cp -a $src/.libs/*.so* $fs/usr/lib
    2.36 -    cp $src/.libs/cjpeg $fs/usr/bin
    2.37 -    cp $src/.libs/djpeg $fs/usr/bin
    2.38 -    cp $src/.libs/jpegtran $fs/usr/bin
    2.39 -    strip -s $fs/usr/*/*
    2.40 +	mkdir -p  $fs/usr/lib
    2.41 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.42 +	cp -a $_pkg/usr/bin $fs/usr
    2.43  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libjpeg/receipt	Sat Aug 14 14:18:40 2010 +0000
     3.3 @@ -0,0 +1,17 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libjpeg"
     3.7 +VERSION="8b"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="JPEG image libs."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +WEB_SITE="http://www.ijg.org/"
    3.12 +WANTED="jpeg"
    3.13 +TAGS="jpeg jpg"
    3.14 +
    3.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.16 +genpkg_rules()
    3.17 +{
    3.18 +	mkdir -p  $fs/usr/lib
    3.19 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.20 +}