wok-6.x annotate jpeg/receipt @ rev 1413

Add WEB_SITE for libedit-dev nomad pygobject pygobject-dev xpat2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 25 08:02:56 2008 +0000 (2008-09-25)
parents
children 4466fa74bc06
rev   line source
pankso@23 1 # SliTaz package receipt.
pankso@23 2
pankso@23 3 PACKAGE="jpeg"
pankso@23 4 VERSION="6b"
pankso@23 5 CATEGORY="x-window"
pankso@23 6 SHORT_DESC="JPEG images libs."
pankso@23 7 MAINTAINER="pankso@slitaz.org"
pankso@23 8 WEB_SITE="http://www.ijg.org/"
pankso@23 9 TARBALL="jpegsrc.v6b.tar.gz"
pankso@23 10 WGET_URL="http://www.ijg.org/files/$TARBALL"
pankso@23 11
pankso@23 12 # Rules to configure and make the package.
pankso@23 13 compile_rules()
pankso@23 14 {
pankso@23 15 cd $src
pankso@23 16 ./configure --enable-shared --prefix=/usr \
pankso@23 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@23 18 make
pankso@23 19 }
pankso@23 20
pankso@23 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@23 22 genpkg_rules()
pankso@23 23 {
pankso@23 24 mkdir -p $fs/usr/lib $fs/usr/bin
pankso@23 25 cp -a $src/.libs/*.so* $fs/usr/lib
pankso@23 26 cp $src/.libs/cjpeg $fs/usr/bin
pankso@23 27 cp $src/.libs/djpeg $fs/usr/bin
pankso@23 28 cp $src/.libs/jpegtran $fs/usr/bin
pankso@23 29 strip -s $fs/usr/*/*
pankso@23 30 }