[arch-commits] Commit in exiv2/repos (4 files)
Andreas Radke
andyrtr at nymeria.archlinux.org
Fri Jan 24 10:31:51 UTC 2014
Date: Friday, January 24, 2014 @ 11:31:51
Author: andyrtr
Revision: 204615
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
exiv2/repos/staging-i686/
exiv2/repos/staging-i686/PKGBUILD
(from rev 204614, exiv2/trunk/PKGBUILD)
exiv2/repos/staging-x86_64/
exiv2/repos/staging-x86_64/PKGBUILD
(from rev 204614, exiv2/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: exiv2/repos/staging-i686/PKGBUILD (from rev 204614, exiv2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2014-01-24 10:31:51 UTC (rev 204615)
@@ -0,0 +1,42 @@
+#$Id$
+# Maintainer: tobias <tobias at arhlinux.org>
+
+pkgname=exiv2
+pkgver=0.24
+pkgrel=1
+pkgdesc="Exif and Iptc metadata manipulation library and tools"
+arch=('i686' 'x86_64')
+url="http://exiv2.org"
+license=('GPL2')
+depends=('gcc-libs' 'zlib' 'expat')
+makedepends=('cmake') # for doc: 'doxygen' 'graphviz' 'ttf-liberation' 'libxslt')
+source=(http://www.exiv2.org/${pkgname}-${pkgver}.tar.gz)
+ # for doc build maybe add from FC exiv2-0.24-doxygen_config.patch)
+md5sums=('b8a23dc56a98ede85c00718a97a8d6fc')
+
+prepare() {
+ mkdir build
+ # fix man pages install patch
+ sed -i "s:man/man1:share/man/man1:" ${pkgbase}-${pkgver}/src/CMakeLists.txt
+}
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DEXIV2_ENABLE_BUILD_PO:BOOL=ON \
+ -DEXIV2_ENABLE_BUILD_SAMPLES=ON
+ make
+# cd ../${pkgbase}-${pkgver}
+# make -j1 doc # needs to be fixed
+}
+
+#check() {
+# cd build
+# make tests # doesn't work for me not finding tests dir
+#}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: exiv2/repos/staging-x86_64/PKGBUILD (from rev 204614, exiv2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-01-24 10:31:51 UTC (rev 204615)
@@ -0,0 +1,42 @@
+#$Id$
+# Maintainer: tobias <tobias at arhlinux.org>
+
+pkgname=exiv2
+pkgver=0.24
+pkgrel=1
+pkgdesc="Exif and Iptc metadata manipulation library and tools"
+arch=('i686' 'x86_64')
+url="http://exiv2.org"
+license=('GPL2')
+depends=('gcc-libs' 'zlib' 'expat')
+makedepends=('cmake') # for doc: 'doxygen' 'graphviz' 'ttf-liberation' 'libxslt')
+source=(http://www.exiv2.org/${pkgname}-${pkgver}.tar.gz)
+ # for doc build maybe add from FC exiv2-0.24-doxygen_config.patch)
+md5sums=('b8a23dc56a98ede85c00718a97a8d6fc')
+
+prepare() {
+ mkdir build
+ # fix man pages install patch
+ sed -i "s:man/man1:share/man/man1:" ${pkgbase}-${pkgver}/src/CMakeLists.txt
+}
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DEXIV2_ENABLE_BUILD_PO:BOOL=ON \
+ -DEXIV2_ENABLE_BUILD_SAMPLES=ON
+ make
+# cd ../${pkgbase}-${pkgver}
+# make -j1 doc # needs to be fixed
+}
+
+#check() {
+# cd build
+# make tests # doesn't work for me not finding tests dir
+#}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list