wok-6.x diff jpeg/receipt @ rev 1554
db nbs: abort on wget failure
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:57:17 2008 +0000 (2008-10-12) |
parents | |
children | 4466fa74bc06 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/jpeg/receipt Sun Oct 12 09:57:17 2008 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="jpeg" 1.7 +VERSION="6b" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="JPEG images libs." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.ijg.org/" 1.12 +TARBALL="jpegsrc.v6b.tar.gz" 1.13 +WGET_URL="http://www.ijg.org/files/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure --enable-shared --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/bin 1.28 + cp -a $src/.libs/*.so* $fs/usr/lib 1.29 + cp $src/.libs/cjpeg $fs/usr/bin 1.30 + cp $src/.libs/djpeg $fs/usr/bin 1.31 + cp $src/.libs/jpegtran $fs/usr/bin 1.32 + strip -s $fs/usr/*/* 1.33 +}