wok-6.x annotate openexr/receipt @ rev 8335
tazpkg now depends on libtaz
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 02 00:58:48 2011 +0100 (2011-02-02) |
parents | |
children | d1768332cee0 |
rev | line source |
---|---|
slaxemulator@6556 | 1 # SliTaz package receipt. |
slaxemulator@6556 | 2 |
slaxemulator@6556 | 3 PACKAGE="openexr" |
slaxemulator@6556 | 4 VERSION="1.6.1" |
slaxemulator@6556 | 5 CATEGORY="x-window" |
slaxemulator@6556 | 6 SHORT_DESC="openexr library for EXR images" |
slaxemulator@6556 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6556 | 8 DEPENDS="zlib ilmbase" |
slaxemulator@6556 | 9 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev" |
slaxemulator@6556 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6556 | 11 WEB_SITE="http://www.openexr.org/" |
slaxemulator@6556 | 12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" |
slaxemulator@6556 | 13 |
slaxemulator@6556 | 14 # Rules to configure and make the package. |
slaxemulator@6556 | 15 compile_rules() |
slaxemulator@6556 | 16 { |
slaxemulator@6556 | 17 cd $src |
slaxemulator@6556 | 18 patch -p1 -i ../stuff/gcc43.patch |
slaxemulator@6556 | 19 ./configure \ |
slaxemulator@6556 | 20 --prefix=/usr \ |
slaxemulator@6556 | 21 --infodir=/usr/share/info \ |
slaxemulator@6556 | 22 --mandir=/usr/share/man \ |
slaxemulator@6556 | 23 $CONFIGURE_ARGS && |
slaxemulator@6556 | 24 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6556 | 25 } |
slaxemulator@6556 | 26 |
slaxemulator@6556 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6556 | 28 genpkg_rules() |
slaxemulator@6556 | 29 { |
slaxemulator@6556 | 30 mkdir -p $fs/usr/lib |
slaxemulator@6556 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6556 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6556 | 33 } |
slaxemulator@6556 | 34 |