diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/lsof/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/lsof/PKGBUILD')
-rw-r--r-- | abs/core/lsof/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/lsof/PKGBUILD b/abs/core/lsof/PKGBUILD new file mode 100644 index 0000000..1fdedc0 --- /dev/null +++ b/abs/core/lsof/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 2105 2008-05-25 02:46:46Z eric $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Contributor: Jochem Kossen <j.kossen@home.nl> + +pkgname=lsof +pkgver=4.80 +pkgrel=1 +pkgdesc="lsof (LiSt Open Files) lists information about files that are open by the running processes" +arch=(i686 x86_64) +license=(custom) +depends=('glibc') +url="http://people.freebsd.org/~abe/" +#source=(ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/${pkgname}_${pkgver}.tar.bz2 license.txt) +source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/${pkgname}_${pkgver}.tar.bz2 license.txt) +md5sums=('18d124d063619eeee147a8d638e2b8fd' '1b63c76bd10437cabf890508c8e58d36') + +build() { + cd $startdir/src/${pkgname}_${pkgver} + tar xf ${pkgname}_${pkgver}_src.tar + cd ${pkgname}_${pkgver}_src + sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" -i dialects/linux/machine.h + + ./Configure -n linux + make || return 1 + install -D -m0755 -o root -g root lsof $startdir/pkg/usr/sbin/lsof + install -D -m0644 -o root -g root lsof.8 $startdir/pkg/usr/share/man/man8/lsof.8 + + install -D -m0644 -o root -g root $startdir/src/license.txt \ + $startdir/pkg/usr/share/licenses/lsof/license.txt +} |