|
|
| |
DESCRIPTION="Gnome tool that checks links on web pages/sites" | DESCRIPTION="Gnome tool that checks links on web pages/sites" |
HOMEPAGE="http://gurlchecker.labs.libre-entreprise.org/" | HOMEPAGE="http://gurlchecker.labs.libre-entreprise.org/" |
SRC_URI="http://labs.libre-entreprise.org/frs/download.php/547/${P}.tar.gz" |
SRC_URI="http://labs.libre-entreprise.org/frs/download.php/623/${P}.tar.bz2" |
| |
LICENSE="GPL-2" | LICENSE="GPL-2" |
KEYWORDS="~hppa ~ppc ~x86" | KEYWORDS="~hppa ~ppc ~x86" |
SLOT="0" | SLOT="0" |
IUSE="clamav doc gnutls tidy" |
IUSE="clamav croco doc gnutls tidy" |
| |
RDEPEND=">=x11-libs/gtk+-2.6 | RDEPEND=">=x11-libs/gtk+-2.6 |
>=gnome-base/libgnomeui-2 | >=gnome-base/libgnomeui-2 |
>=gnome-base/libglade-2 | >=gnome-base/libglade-2 |
>=dev-libs/libxml2-2.6 | >=dev-libs/libxml2-2.6 |
>=net-libs/gnet-2 | >=net-libs/gnet-2 |
>=dev-libs/libcroco-0.6 |
croco? ( >=dev-libs/libcroco-0.6 ) |
tidy? ( app-text/htmltidy ) | tidy? ( app-text/htmltidy ) |
clamav? ( app-antivirus/clamav ) | clamav? ( app-antivirus/clamav ) |
gnutls? ( >=net-libs/gnutls-1 )" | gnutls? ( >=net-libs/gnutls-1 )" |
|
|
DOCS="AUTHORS CONTRIBUTORS ChangeLog FAQ NEWS README THANKS TODO" | DOCS="AUTHORS CONTRIBUTORS ChangeLog FAQ NEWS README THANKS TODO" |
| |
pkg_setup() { | pkg_setup() { |
G2CONF="--with-croco \ |
G2CONF="$(use_enable croco) \ |
$(use_with tidy) \ |
$(use_enable tidy) \ |
$(use_with clamav) \ |
$(use_enable clamav) \ |
$(use_with gnutls)" |
$(use_enable gnutls)" |
} | } |
| |
src_unpack() { | src_unpack() { |
unpack ${A} | unpack ${A} |
|
cd "${S}" |
# Leave the LDFLAGS alone, appending $withval is utterly broken |
epatch "${FILESDIR}"/${P}-gentoo.patch |
epatch "${FILESDIR}/${P}-ldflags.patch" |
|
|
|
# The file index.sgml should be distributed with the sources, but |
|
# it is not, causing problems. See bug #92784. |
|
touch "${S}"/doc/html/index.sgml |
|
} | } |