libgexiv2: disable static, set noarch in -devel.
This commit is contained in:
parent
39f9564b36
commit
23516e918a
|
@ -1,16 +1,15 @@
|
||||||
# Template file for 'libgexiv2-devel'.
|
# Template file for 'libgexiv2-devel'.
|
||||||
#
|
#
|
||||||
depends="glib-devel exiv2-devel libgexiv2>=0.4.1"
|
depends="glib-devel exiv2-devel libgexiv2-${version}_${revision}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc="${short_desc} - development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
do_install()
|
do_install() {
|
||||||
{
|
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
vmove "usr/lib/*.a" usr/lib
|
|
||||||
vmove usr/share/vala usr/share
|
vmove usr/share/vala usr/share
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
# Template file for 'libgexiv2'
|
# Template file for 'libgexiv2'
|
||||||
pkgname=libgexiv2
|
pkgname=libgexiv2
|
||||||
version=0.4.1
|
version=0.4.1
|
||||||
homepage="http://www.exiv2.org"
|
revision=2
|
||||||
distfiles="http://yorba.org/download/gexiv2/0.4/${pkgname}-${version}.tar.bz2"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
subpackages="${pkgname}-devel"
|
||||||
makedepends="libtool pkg-config glib-devel exiv2-devel"
|
makedepends="libtool pkg-config glib-devel exiv2-devel"
|
||||||
revision=1
|
|
||||||
short_desc="GObject-based wrapper around the Exiv2 library"
|
short_desc="GObject-based wrapper around the Exiv2 library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
homepage="http://www.exiv2.org"
|
||||||
|
distfiles="http://yorba.org/download/gexiv2/0.4/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=c51e8bae7e53866b474b51e4eef19b98385fbeaf2edac2aefd7d24ed3f7d9d6e
|
checksum=c51e8bae7e53866b474b51e4eef19b98385fbeaf2edac2aefd7d24ed3f7d9d6e
|
||||||
long_desc="
|
long_desc="
|
||||||
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the
|
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the
|
||||||
basic features of Exiv2 available to GNOME applications."
|
basic features of Exiv2 available to GNOME applications."
|
||||||
|
|
||||||
subpackages="${pkgname}-devel"
|
post_install() {
|
||||||
|
rm -f ${DESTDIR}/usr/lib/*.a
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue