void-packages/srcpkgs/iputils/template

30 lines
971 B
Text
Raw Normal View History

# Template file for 'iputils'
pkgname=iputils
2011-02-01 01:05:09 +00:00
version=20101006
patch_args="-Np1"
wrksrc="${pkgname}-s${version}"
2011-10-19 00:43:07 +00:00
#distfiles="http://www.skbuff.net/${pkgname}/${pkgname}-s${version}.tar.bz2"
distfiles="http://cross-lfs.org/files/packages/svn/${pkgname}-s${version}.tar.bz2"
build_style=gnu-makefile
2011-02-01 01:05:09 +00:00
short_desc="IP Configuration Utilities (and ping)"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-02-01 01:05:09 +00:00
checksum=fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7
long_desc="
The iputils package is set of small useful utilities for Linux networking.
It was originally maintained by Alexey Kuznetsov."
Add_dependency run glibc
2011-02-01 01:05:09 +00:00
Add_dependency run libssl
Add_dependency run libsysfs
Add_dependency build libsysfs-devel
Add_dependency build openssl-devel
post_install()
{
install -d ${DESTDIR}/usr/share/man/man8
install -m644 ${wrksrc}/doc/*.8 ${DESTDIR}/usr/share/man/man8
cd ${DESTDIR}/usr/share/man/man8
ln -sf ping.8 ping6.8
ln -sf tracepath.8 tracepath6.8
}