wok-current view openjpeg/receipt @ rev 7418

nvidia: only use .unblocked_ioctl since 2.6.36
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 28 12:56:09 2010 +0100 (2010-11-28)
parents
children 837aebf94f13
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.3"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 _VERSION=v1_3
10 TARBALL="${PACKAGE}_${_VERSION}.tar.gz"
11 WEB_SITE="http://www.openjpeg.org/"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/OpenJPEG_${_VERSION}
18 cd $src
19 patch -Np1 -i ../stuff/30_fix_build_for_debian.dpatch
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 _pkg=$WOK/$PACKAGE/OpenJPEG_${_VERSION}/_pkg
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }