wok-current annotate openjpeg/receipt @ rev 7084
Added libsigc++ to libsigc++-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 00:29:54 2010 +0000 (2010-11-03) |
parents | |
children | 837aebf94f13 |
rev | line source |
---|---|
slaxemulator@6843 | 1 # SliTaz package receipt. |
slaxemulator@6843 | 2 |
slaxemulator@6843 | 3 PACKAGE="openjpeg" |
slaxemulator@6843 | 4 VERSION="1.3" |
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@6843 | 9 _VERSION=v1_3 |
slaxemulator@6843 | 10 TARBALL="${PACKAGE}_${_VERSION}.tar.gz" |
slaxemulator@6843 | 11 WEB_SITE="http://www.openjpeg.org/" |
slaxemulator@6843 | 12 WGET_URL="$WEB_SITE/$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 src=$WOK/$PACKAGE/OpenJPEG_${_VERSION} |
slaxemulator@6843 | 18 cd $src |
slaxemulator@6843 | 19 patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch |
slaxemulator@6843 | 20 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6843 | 21 } |
slaxemulator@6843 | 22 |
slaxemulator@6843 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6843 | 24 genpkg_rules() |
slaxemulator@6843 | 25 { |
slaxemulator@6843 | 26 _pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg |
slaxemulator@6843 | 27 mkdir -p $fs/usr/lib |
slaxemulator@6843 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6843 | 29 } |
slaxemulator@6843 | 30 |