procps-ng: added devel files

This commit is contained in:
Andrea Brancaleoni 2015-06-12 15:21:24 +02:00
parent 5f5440a08e
commit 0267147105
3 changed files with 15 additions and 6 deletions

View File

@ -2064,3 +2064,4 @@ libmediaart-2.0.so.0 libmediaart2-1.9.0_1
libgegl-0.3.so.0 gegl3-0.3.0_1
libgegl-npd-0.3.so gegl3-0.3.0_1
libgegl-sc-0.3.so gegl3-0.3.0_1
libprocps.so.4 procps-ng-3.3.10_8

1
srcpkgs/procps-ng-devel Symbolic link
View File

@ -0,0 +1 @@
procps-ng

View File

@ -1,11 +1,11 @@
# Template file for 'procps-ng'
pkgname=procps-ng
version=3.3.10
revision=7
revision=8
build_pie=yes
build_style=gnu-configure
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/bin
--libdir=/usr/lib --disable-static --disable-kill --enable-watch8bit
--libdir=/usr/lib --disable-kill --enable-watch8bit
--disable-modern-top $(vopt_with systemd)"
hostmakedepends="automake libtool pkg-config gettext-devel"
makedepends="ncurses-devel $(vopt_if systemd systemd-devel)"
@ -28,8 +28,15 @@ pre_configure() {
}
post_install() {
vconf ${FILESDIR}/sysctl.conf
# Remove devel and docs.
rm -rf ${DESTDIR}/usr/share/doc \
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
rm -f ${DESTDIR}/usr/lib/*.so
}
procps-ng-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}