wok-current annotate exiv2/receipt @ rev 10036
gcc: we want a native i486 compiler to cross compile full system
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 06:11:16 2011 +0200 (2011-05-20) |
parents | 9a591e946b0d |
children | fcdd50638150 |
rev | line source |
---|---|
jozee@2725 | 1 # SliTaz package receipt. |
jozee@2725 | 2 |
jozee@2725 | 3 PACKAGE="exiv2" |
slaxemulator@8369 | 4 VERSION="0.21" |
jozee@2725 | 5 CATEGORY="graphics" |
jozee@2725 | 6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools" |
jozee@2725 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5000 | 8 DEPENDS="expat zlib gcc-lib-base" |
jozee@2725 | 9 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev" |
jozee@2725 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4228 | 11 WEB_SITE="http://www.exiv2.org/" |
jozee@2725 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2725 | 13 |
jozee@2725 | 14 # Rules to configure and make the package. |
jozee@2725 | 15 compile_rules() |
jozee@2725 | 16 { |
jozee@2725 | 17 cd $src |
pankso@4228 | 18 ./configure \ |
pankso@4228 | 19 --prefix=/usr \ |
pankso@4228 | 20 $CONFIGURE_ARGS && |
pankso@4228 | 21 make && |
jozee@2725 | 22 make DESTDIR=$PWD/_pkg install |
jozee@2725 | 23 } |
jozee@2725 | 24 |
jozee@2725 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2725 | 26 genpkg_rules() |
jozee@2725 | 27 { |
jozee@2725 | 28 mkdir -p $fs/usr/lib |
jozee@2725 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@4228 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2725 | 31 } |