mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
dhcp: remove useless -devel subpkg.
This commit is contained in:
parent
58d6bee509
commit
2580b5e349
2 changed files with 3 additions and 15 deletions
|
@ -1 +0,0 @@
|
||||||
dhcp
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dhcp'
|
# Template file for 'dhcp'
|
||||||
pkgname=dhcp
|
pkgname=dhcp
|
||||||
version=4.2.3
|
version=4.2.3
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="Server from the Internet Software Consortium's implementation of DHCP"
|
short_desc="Server from the Internet Software Consortium's implementation of DHCP"
|
||||||
|
@ -18,9 +18,6 @@ _configure_args+=" --enable-paranoia
|
||||||
--with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases"
|
--with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# assume that there is /dev/random. Fixes cross compiling
|
|
||||||
sed -i "2i\ac_cv_file__dev_random=yes" configure
|
|
||||||
|
|
||||||
# patching bind Makefile to patch with a cross fix while building (WTF?!)
|
# patching bind Makefile to patch with a cross fix while building (WTF?!)
|
||||||
sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ac_cv_file__dev_random=yes ./configure $configure_args#" bind/Makefile
|
sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ac_cv_file__dev_random=yes ./configure $configure_args#" bind/Makefile
|
||||||
|
|
||||||
|
@ -32,6 +29,8 @@ post_install() {
|
||||||
sed -i "s/^/#/" $DESTDIR/etc/dhclient.conf $DESTDIR/etc/dhcpd.conf
|
sed -i "s/^/#/" $DESTDIR/etc/dhclient.conf $DESTDIR/etc/dhcpd.conf
|
||||||
vsv dhcpd4
|
vsv dhcpd4
|
||||||
vsv dhcpd6
|
vsv dhcpd6
|
||||||
|
# Remove development stuff, useless...
|
||||||
|
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3
|
||||||
}
|
}
|
||||||
|
|
||||||
dhclient_package() {
|
dhclient_package() {
|
||||||
|
@ -45,13 +44,3 @@ dhclient_package() {
|
||||||
vsv dhclient
|
vsv dhclient
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dhcp-devel_package() {
|
|
||||||
depends="dhcp>=${version}_${revision} dhclient>=${version}_${revision}"
|
|
||||||
short_desc+=" - development files"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/include
|
|
||||||
vmove "usr/lib/*.a"
|
|
||||||
vmove usr/share/man/man3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue