2009-05-24 04:00:39 +02:00
|
|
|
# Copyright 2008, 2009 Daniel Mierswa <impulze@impulze.org>
|
2008-12-03 19:35:08 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2009-02-13 02:33:23 +01:00
|
|
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.10 ] ]
|
2008-12-03 19:35:08 +01:00
|
|
|
|
|
|
|
SUMMARY="A library to read zip files."
|
|
|
|
DESCRIPTION="The implementation is based only on the (free) subset of
|
2009-05-24 03:08:28 +02:00
|
|
|
compression with the zlib algorithm."
|
|
|
|
HOMEPAGE="http://$PN.sourceforge.net"
|
|
|
|
DOWNLOADS="mirror://sourceforge/$PN/$PNV.tar.bz2"
|
2008-12-03 19:35:08 +01:00
|
|
|
|
|
|
|
LICENCES="|| ( LGPL-2 MPL-1.1 )"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64"
|
|
|
|
MYOPTIONS="python sdl xmlto zlib"
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
python? ( dev-lang/python )
|
|
|
|
xmlto? ( app-text/xmlto )
|
|
|
|
build+run:
|
2009-02-16 23:00:20 +01:00
|
|
|
sdl? ( media-libs/SDL )
|
2008-12-03 19:35:08 +01:00
|
|
|
zlib? ( sys-libs/zlib )
|
|
|
|
"
|
|
|
|
|
|
|
|
AT_M4DIR="m4"
|
|
|
|
|
2009-05-24 03:08:28 +02:00
|
|
|
DEFAULT_SRC_PREPARE_PATCHES+=( "$FILES/$PN-0.13.49-automagic-deps.patch" )
|
2008-12-03 19:35:08 +01:00
|
|
|
DEFAULT_SRC_CONFIGURE_OPTION_WITHS+=( zlib python xmlto )
|
|
|
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES+=( sdl )
|
|
|
|
|