# Distributed under the terms of the GNU General Public License v2 inherit flag-o-matic eutils gnuconfig DESCRIPTION="Pico Server is a small web server." HOMEPAGE="http://pserv.sourceforge.net/" SRC_URI="mirror://sourceforge/pserv/${P}.tar.Z" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" #DEPEND="" S=${WORKDIR}/pserv src_unpack() { unpack ${A} } src_compile() { cd ${S}/sources epatch ${FILESDIR}/main.h.patch emake || die } src_install() { exeinto /usr/local/bin doexe ${S}/sources/pserv dodir /usr/local/lib cp ${S}/defaults/mime_types.dat ${D}/usr/local/lib/myme_types.dat dodir /usr/local/etc cp ${FILESDIR}/pserv.conf ${D}/usr/local/etc/pserv.conf dodoc ${S}/COPYING ${S}/README ${S}/compile_options.txt ${S}/config_file.txt }