procps-ng: provide an empty /etc/sysctl.conf (close #623).
This commit is contained in:
parent
513fca5e00
commit
75fe6837a2
2 changed files with 4 additions and 1 deletions
1
srcpkgs/procps-ng/files/sysctl.conf
Normal file
1
srcpkgs/procps-ng/files/sysctl.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# See sysctl.conf(5)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'procps-ng'
|
# Template file for 'procps-ng'
|
||||||
pkgname=procps-ng
|
pkgname=procps-ng
|
||||||
version=3.3.10
|
version=3.3.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
||||||
--libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)"
|
--libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)"
|
||||||
|
@ -16,11 +16,13 @@ checksum=a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
|
conf_files="/etc/sysctl.conf"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vconf ${FILESDIR}/sysctl.conf
|
||||||
# Remove devel and docs.
|
# Remove devel and docs.
|
||||||
rm -rf ${DESTDIR}/usr/share/doc \
|
rm -rf ${DESTDIR}/usr/share/doc \
|
||||||
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
||||||
|
|
Loading…
Reference in a new issue