wok-current annotate openjpeg/receipt @ rev 12051
removed leafpad.desktop from gvim
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Mar 07 17:29:29 2012 -0800 (2012-03-07) |
parents | 837aebf94f13 |
children | 16b97ec782a4 |
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 \ |
gokhlayeh@11573 | 21 --disable-static \ |
gokhlayeh@11573 | 22 $CONFIGURE_ARGS && |
slaxemulator@6843 | 23 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6843 | 24 } |
slaxemulator@6843 | 25 |
slaxemulator@6843 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6843 | 27 genpkg_rules() |
slaxemulator@6843 | 28 { |
slaxemulator@6843 | 29 mkdir -p $fs/usr/lib |
slaxemulator@6843 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6843 | 31 } |
slaxemulator@6843 | 32 |