dhcp: remove useless -devel subpkg.
This commit is contained in:
parent
58d6bee509
commit
2580b5e349
|
@ -1 +0,0 @@
|
|||
dhcp
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dhcp'
|
||||
pkgname=dhcp
|
||||
version=4.2.3
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="perl"
|
||||
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"
|
||||
|
||||
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?!)
|
||||
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
|
||||
vsv dhcpd4
|
||||
vsv dhcpd6
|
||||
# Remove development stuff, useless...
|
||||
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3
|
||||
}
|
||||
|
||||
dhclient_package() {
|
||||
|
@ -45,13 +44,3 @@ dhclient_package() {
|
|||
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…
Reference in New Issue