From 23c14666400ac375ec07e36cc798551cdf05c3d9 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 21 May 2011 14:47:22 +0200 Subject: media-gfx/cataract: 1.1.0-r1 (improve ebuild) --- media-gfx/cataract/Manifest | 3 ++- media-gfx/cataract/cataract-1.1.0-r1.ebuild | 33 +++++++++++++++++++++++++++++ media-gfx/cataract/cataract-1.1.0.ebuild | 30 -------------------------- media-gfx/cataract/metadata.xml | 9 ++++++++ 4 files changed, 44 insertions(+), 31 deletions(-) create mode 100644 media-gfx/cataract/cataract-1.1.0-r1.ebuild delete mode 100644 media-gfx/cataract/cataract-1.1.0.ebuild create mode 100644 media-gfx/cataract/metadata.xml (limited to 'media-gfx/cataract') diff --git a/media-gfx/cataract/Manifest b/media-gfx/cataract/Manifest index 182677c..9186d65 100644 --- a/media-gfx/cataract/Manifest +++ b/media-gfx/cataract/Manifest @@ -1,2 +1,3 @@ DIST cataract-1.1.0.tar.bz2 4750865 RMD160 9837d3a83db2951e03425d905f98610ab208d9f5 SHA1 5a13a7b4be0ed97598d12f10edfc2ec5148701f6 SHA256 6d6831df842c66c7af1cea9506d1927aa38dd2c01cae04d7e213e0a9fcce1457 -EBUILD cataract-1.1.0.ebuild 690 RMD160 fa9fce94b88525c209d825eb750b02b41ae9c51d SHA1 32901794b48a34dec51f0cc4b42df1b7b2a185a6 SHA256 cd900f959a52178aab3672c61cdfe8d01e77bc58d4a9952033776851ae52d6af +EBUILD cataract-1.1.0-r1.ebuild 805 RMD160 cc39d93f043bccee60a03405a07a745626906b1e SHA1 ee8464901469f7de9c4134c3dfbba032152f0b16 SHA256 d897f47a74b2006b5a553ad443095016acffb7a58097332eaf7b69f499cfdd3d +MISC metadata.xml 257 RMD160 04e4c6e678ba8e8ffde93f57d06a40b60f9eaa69 SHA1 e3c39bf9a25beebbe626726bb94f6e22db4fa06d SHA256 b4a209de2bfbbcc5ceab61bf458a1ee79da4c60a30e4aabf54b76e9709b56db8 diff --git a/media-gfx/cataract/cataract-1.1.0-r1.ebuild b/media-gfx/cataract/cataract-1.1.0-r1.ebuild new file mode 100644 index 0000000..348019d --- /dev/null +++ b/media-gfx/cataract/cataract-1.1.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +DESCRIPTION="Simple static web photo gallery, designed to be clean and easily usable." +HOMEPAGE="http://cgg.bzatek.net/" +SRC_URI="http://cgg.bzatek.net/files/${P}.tar.bz2" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/glib + dev-libs/libxml2 + media-gfx/imagemagick + media-gfx/exiv2" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_install() { + emake DESTDIR="${D}" install || die + dodoc NEWS README AUTHORS || die + + # Install sample + rm sample/{gen.sh,Makefile*,src.tar.gz} || die + sed 's|../../templates|/usr/share/cgg|' \ + -i sample/src/setup.xml || die + insinto /usr/share/cgg/ + doins -r sample || die +} diff --git a/media-gfx/cataract/cataract-1.1.0.ebuild b/media-gfx/cataract/cataract-1.1.0.ebuild deleted file mode 100644 index f70ce51..0000000 --- a/media-gfx/cataract/cataract-1.1.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -DESCRIPTION="Simple static web photo gallery, designed to be clean and easily usable." -HOMEPAGE="http://cgg.bzatek.net/" -SRC_URI="http://cgg.bzatek.net/files/${P}.tar.bz2" - -LICENSE="|| ( GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-libs/glib - dev-libs/libxml2 - media-gfx/imagemagick - media-gfx/exiv2" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_install() { - emake DESTDIR="${D}" install || die - dodoc NEWS README AUTHORS || die - - insinto /usr/share/${PF}/ - doins -r sample || die - rm "${D}"/usr/share/${PF}/sample/src.tar.gz || die -} diff --git a/media-gfx/cataract/metadata.xml b/media-gfx/cataract/metadata.xml new file mode 100644 index 0000000..328fbd1 --- /dev/null +++ b/media-gfx/cataract/metadata.xml @@ -0,0 +1,9 @@ + + + + no-herd + + sping@gentoo.org + Sebastian Pipping + + -- cgit v1.2.3-65-gdbad