mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
38 lines
1 KiB
Bash
38 lines
1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=netcount
|
|
pkgver=0.8i
|
|
pkgrel=1
|
|
pkgdesc="network statistic and monitor tools"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.hczim.de/software/"
|
|
license=('GPL')
|
|
depends=('python')
|
|
source=(http://www.hczim.de/software/$pkgname-$pkgver.tar.gz build.patch)
|
|
md5sums=('537d941b6725f17d46b228967b8f6d23' '16396755d9b4e2e718953f629f7044af')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
patch -p0 Makefile <../build.patch
|
|
echo -e "#!/bin/sh\necho gentoo">distro-detect.sh
|
|
|
|
make files || return 1
|
|
|
|
mkdir -p $startdir/pkg/usr/sbin
|
|
mkdir -p $startdir/pkg/usr/bin
|
|
mkdir -p $startdir/pkg/usr/man/man1
|
|
mkdir -p $startdir/pkg/etc/logrotate.d
|
|
|
|
make \
|
|
INSTALLDIR=$startdir/pkg/usr \
|
|
MANDIR=$startdir/pkg/usr/man \
|
|
LOGROTATEDIR=$startdir/pkg/etc/logrotate.d \
|
|
PPPDIR=$startdir/src \
|
|
CRONDIR=$startdir/src \
|
|
RCRONDIR=$startdir/src \
|
|
INIT_GENTOO=$startdir/src \
|
|
install
|
|
}
|