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@15588
|
8 LICENSE="GPL2"
|
jozee@2725
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pankso@4228
|
10 WEB_SITE="http://www.exiv2.org/"
|
jozee@2725
|
11 WGET_URL="$WEB_SITE/$TARBALL"
|
pankso@16269
|
12 HOST_ARCH="i486 arm"
|
jozee@2725
|
13
|
pascal@15588
|
14 DEPENDS="expat zlib gcc-lib-base"
|
pascal@15588
|
15 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev"
|
pascal@15588
|
16
|
jozee@2725
|
17 # Rules to configure and make the package.
|
jozee@2725
|
18 compile_rules()
|
jozee@2725
|
19 {
|
jozee@2725
|
20 cd $src
|
pankso@4228
|
21 ./configure \
|
pankso@4228
|
22 --prefix=/usr \
|
pankso@4228
|
23 $CONFIGURE_ARGS &&
|
pankso@4228
|
24 make &&
|
pascal@15588
|
25 make DESTDIR=$DESTDIR install
|
jozee@2725
|
26 }
|
jozee@2725
|
27
|
jozee@2725
|
28 # Rules to gen a SliTaz package suitable for Tazpkg.
|
jozee@2725
|
29 genpkg_rules()
|
jozee@2725
|
30 {
|
jozee@2725
|
31 mkdir -p $fs/usr/lib
|
pascal@15588
|
32 cp -a $install/usr/bin $fs/usr
|
pascal@15588
|
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
|
jozee@2725
|
34 }
|