Created
May 15, 2011 19:10
-
-
Save threez/973441 to your computer and use it in GitHub Desktop.
istatd package description for arch linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- daemon.cpp 2011-05-15 20:46:26.000000000 +0200 | |
+++ daemon.cpp 2011-05-15 20:48:15.000000000 +0200 | |
@@ -33,6 +33,7 @@ | |
#include <iostream> | |
#include <stdlib.h> | |
#include <string.h> | |
+#include <stddef.h> | |
#include <unistd.h> | |
#include <sys/types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Vincent Landgraf <vilandgr+github(at)googlemail(dot)com> | |
pkgname=istatd | |
pkgver=0.5.7 | |
pkgrel=2 | |
pkgdesc="Serving statistics to the iStat iPhone application from Linux, Solaris and FreeBSD." | |
url="https://github.com/tiwilliam/istatd" | |
arch=('x86_64' 'i686') | |
license=('MIT') | |
depends=('libxml2') | |
optdepends=() | |
makedepends=() | |
conflicts=() | |
replaces=() | |
backup=() | |
install= | |
source=("https://github.com/downloads/tiwilliam/istatd/${pkgname}-${pkgver}.tar.gz" "patch.diff") | |
md5sums=('15e717be70a64cf8a8522da8ee5641d3' '8411e2df67e8e61f0f8cf436fdd76e94') | |
build() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
patch -p0 < ../patch.diff | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
make DESTDIR="$pkgdir/" install | |
mkdir -p $pkgdir/var/{run,cache}/istat | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment