# Copyright 2005 Pascal Fleury # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Pascal Fleury # $Header:$ S="${WORKDIR}/${P}" DESCRIPTION="Unix / Windows Socket programming made easy." SRC_URI="http://www.alhem.net/Sockets/${P}.tar.gz" HOMEPAGE="http://www.alhem.net/Sockets" LICENSE="GPL-2" DEPEND="ssl? ( >=openssl-0.9.7e )" RDEPEND="ssl? ( >=openssl-0.9.7e ) >=e2fsprogs-1.35-r1" KEYWORDS="~x86" src_compile() { emake || die # Produce the documentation doxygen -g doxygen.cfg doxygen doxygen.cfg } src_install () { # This is because the installer does not use the proper pathing # so when the bin dir is empty, the Socket-config is named 'bin' mkdir -p ${D}/usr/bin make \ PREFIX=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die # The dodoc command can be used to install files into the packages # documentation directory (/usr/share/doc/${PF}). # # The syntax for dodoc is: dodoc file1 [file2 [file3 [...]]] # # If you see the dodoc command below followed by one or more files, # Ebuilder found files in your package that are commonly # installed in the documents directory. You should look for any other # files that should be installed here (particularily if the 'dodoc' # command is commented out below). # Install documentation. dodoc html/* }