mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-10 23:02:56 +02:00
lsof: update to 4.93.2
This commit is contained in:
parent
d6200927f3
commit
7d2e8893eb
1 changed files with 8 additions and 6 deletions
|
@ -1,24 +1,26 @@
|
||||||
# Template file for 'lsof'
|
# Template file for 'lsof'
|
||||||
pkgname=lsof
|
pkgname=lsof
|
||||||
version=4.91
|
version=4.93.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=lsof_${version}_src
|
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="LiSt Open Files"
|
short_desc="LiSt Open Files"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
homepage="https://people.freebsd.org/~abe/"
|
|
||||||
license="lsof"
|
license="lsof"
|
||||||
distfiles="https://fossies.org/linux/misc/lsof_${version}_src.tar.xz"
|
homepage="https://people.freebsd.org/~abe/"
|
||||||
checksum=84c8bba41a2f458edf92427ae5a3088d8010e8dbec7ce5bc58c709ede87ac3bf
|
distfiles="https://fossies.org/linux/misc/lsof-${version}.tar.gz"
|
||||||
|
checksum=3df912bd966fc24dc73ddea3e36a61d79270b21b085936a4caabca56e5b486a2
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
|
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
|
||||||
-i dialects/linux/machine.h
|
-i dialects/linux/machine.h
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
export LSOF_INCLUDE="${XBPS_CROSS_BASE}/usr/include"
|
||||||
|
fi
|
||||||
LSOF_CFGF="$CFLAGS" LSOF_CFGL="$LDFLAGS" ./Configure -n linux
|
LSOF_CFGF="$CFLAGS" LSOF_CFGL="$LDFLAGS" ./Configure -n linux
|
||||||
make CC=$CC ${makejobs}
|
make CC=$CC ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin lsof
|
vbin lsof
|
||||||
vman lsof.8
|
vman Lsof.8
|
||||||
vlicense ${FILESDIR}/license.txt
|
vlicense ${FILESDIR}/license.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue