mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* added uptimed 0.3.16
svn path=/nixpkgs/trunk/; revision=17172
This commit is contained in:
parent
63dceffb0b
commit
8afb39344e
18
pkgs/tools/system/uptimed/default.nix
Normal file
18
pkgs/tools/system/uptimed/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{stdenv, fetchurl, automake, autoconf, libtool}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "uptimed-0.3.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://podgorny.cz/uptimed/releases/uptimed-0.3.16.tar.bz2;
|
||||
sha256 = "0axi2rz4gnmzzjl7xay7y8j1mh6iqqyg0arl1jyc3fgsk1ggy27m";
|
||||
};
|
||||
|
||||
patches = [ ./no-var-spool-install.patch ];
|
||||
|
||||
buildInputs = [automake autoconf libtool];
|
||||
|
||||
meta = {
|
||||
homepage = http://podgorny.cz/uptimed/;
|
||||
};
|
||||
}
|
15
pkgs/tools/system/uptimed/no-var-spool-install.patch
Normal file
15
pkgs/tools/system/uptimed/no-var-spool-install.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -rc uptimed-0.3.16/Makefile.am uptimed-0.3.16-new/Makefile.am
|
||||
*** uptimed-0.3.16/Makefile.am 2009-01-02 00:46:00.000000000 +0100
|
||||
--- uptimed-0.3.16-new/Makefile.am 2009-09-16 09:24:29.952524967 +0200
|
||||
***************
|
||||
*** 8,16 ****
|
||||
|
||||
AM_CFLAGS = @CFLAGS@ -DFILE_CONFIG=\"$(sysconfdir)/uptimed.conf\"
|
||||
|
||||
- install-data-local:
|
||||
- $(INSTALL) -d $(DESTDIR)/var/spool/uptimed
|
||||
-
|
||||
srpm: dist
|
||||
@(rpmbuild -ts uptimed-$(PACKAGE_VERSION).tar.gz)
|
||||
|
||||
--- 8,13 ----
|
@ -1541,6 +1541,10 @@ let
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
uptimed = import ../tools/system/uptimed {
|
||||
inherit fetchurl stdenv automake autoconf libtool;
|
||||
};
|
||||
|
||||
wdfs = import ../tools/networking/wdfs {
|
||||
inherit stdenv fetchurl neon fuse pkgconfig;
|
||||
inherit (gtkLibs) glib;
|
||||
|
Loading…
Reference in New Issue
Block a user