mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
parent
2b9027f182
commit
0040a79787
1 changed files with 6 additions and 13 deletions
|
@ -1,30 +1,23 @@
|
||||||
# Template file for 'lsof'
|
# Template file for 'lsof'
|
||||||
pkgname=lsof
|
pkgname=lsof
|
||||||
version=4.89
|
version=4.90
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc=lsof_${version}
|
wrksrc=lsof_${version}_src
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="LiSt Open Files"
|
short_desc="LiSt Open Files"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://people.freebsd.org/~abe/"
|
homepage="https://people.freebsd.org/~abe/"
|
||||||
license="lsof"
|
license="lsof"
|
||||||
distfiles="http://fossies.org/linux/misc/lsof_${version}.tar.bz2"
|
distfiles="https://fossies.org/linux/misc/lsof_${version}_src.tar.xz"
|
||||||
checksum=81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a360a3718
|
checksum=675882076d7944359e2d1f9dbe935edc5cebe48c15a3c12c4c196b85003b359f
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
# We have to do this dance because the real distfile is
|
|
||||||
# included in the .tar.bz2 archive.
|
|
||||||
tar xf ${wrksrc}/lsof_${version}_src.tar -C ${wrksrc}
|
|
||||||
}
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${wrksrc}/lsof_${version}_src
|
|
||||||
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
|
||||||
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() {
|
||||||
cd ${wrksrc}/lsof_${version}_src
|
|
||||||
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