wok-next annotate openjpeg/receipt @ rev 8636
Up: python-lxml to 2.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 02:13:01 2011 +0000 (2011-02-15) |
parents | fb51094a6449 |
children | b7319995b37e |
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 |
slaxemulator@6843 | 14 # Rules to configure and make the package. |
slaxemulator@6843 | 15 compile_rules() |
slaxemulator@6843 | 16 { |
slaxemulator@6843 | 17 cd $src |
slaxemulator@8600 | 18 ./configure --enable-lcms2=no \ |
slaxemulator@8600 | 19 --enable-png=no \ |
slaxemulator@8600 | 20 --enable-lcms1=no \ |
slaxemulator@8600 | 21 --disable-static && |
slaxemulator@6843 | 22 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6843 | 23 } |
slaxemulator@6843 | 24 |
slaxemulator@6843 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6843 | 26 genpkg_rules() |
slaxemulator@6843 | 27 { |
slaxemulator@6843 | 28 mkdir -p $fs/usr/lib |
slaxemulator@6843 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6843 | 30 } |
slaxemulator@6843 | 31 |