wok-6.x annotate openjpeg/receipt @ rev 12156

squidcalmav: typo
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 17 12:23:37 2012 +0100 (2012-03-17)
parents b7319995b37e
children 9df2d923214c
rev   line source
slaxemulator@6843 1 # SliTaz package receipt.
slaxemulator@6843 2
slaxemulator@6843 3 PACKAGE="openjpeg"
slaxemulator@8600 4 VERSION="1.4"
slaxemulator@6843 5 CATEGORY="development"
slaxemulator@6843 6 SHORT_DESC="An open source JPEG 2000 codec"
slaxemulator@6843 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6843 8 DEPENDS="glibc-base"
slaxemulator@8600 9 _VERSION=v1_4
slaxemulator@8600 10 TARBALL="${PACKAGE}_${_VERSION}_sources_r697.tgz"
slaxemulator@6843 11 WEB_SITE="http://www.openjpeg.org/"
slaxemulator@8600 12 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
slaxemulator@6843 13
pascal@12119 14 BUILD_DEPENDS="coreutils-directory"
pascal@12119 15
slaxemulator@6843 16 # Rules to configure and make the package.
slaxemulator@6843 17 compile_rules()
slaxemulator@6843 18 {
slaxemulator@6843 19 cd $src
slaxemulator@8600 20 ./configure --enable-lcms2=no \
slaxemulator@8600 21 --enable-png=no \
slaxemulator@8600 22 --enable-lcms1=no \
gokhlayeh@11573 23 --disable-static \
gokhlayeh@11573 24 $CONFIGURE_ARGS &&
slaxemulator@6843 25 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6843 26 }
slaxemulator@6843 27
slaxemulator@6843 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6843 29 genpkg_rules()
slaxemulator@6843 30 {
slaxemulator@6843 31 mkdir -p $fs/usr/lib
slaxemulator@6843 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6843 33 }
slaxemulator@6843 34