[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create package and guix-daemon
From: |
Daniel Pimentel |
Subject: |
Re: Create package and guix-daemon |
Date: |
Fri, 24 Jul 2015 09:57:57 -0300 |
User-agent: |
Roundcube Webmail/1.0.5 |
I see a couple of problems here:
1) Looks like Perl is a necessary input.
2) There is no configure script, so you must remove the 'configure'
phase. Search for examples of this in other package definitions.
Does this package even use the GNU build system?
- Dave
1. I'll check it.
2. I'll try it. I don't know about it but I think no, I'll see
documentation about it.
How remove the 'configure' phase (sorry for it :( )?
My ipcalc.scm file:
(define-module (gnu packages ipcalc)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses))
(define-public ipcalc
(package
(name "ipcalc")
(version "0.41")
(source (origin
(method url-fetch)
(uri (string-append
"http://jodies.de/ipcalc-archive/ipcalc-" version
".tar.gz"))
(sha256
(base32
"12if9sm8h2ac0pgwkw835cgyqjxm6h27k4kfn2vfas9krrqwbafx"))))
(build-system gnu-build-system)
(arguments `(#:configure-flags '("--enable-silent-rules")))
(synopsis "IP Calculator")
(description "ipcalc takes an IP address and netmask and calculates
the resulting broadcast, network, mask, and host range")
(home-page "http://jodies.de/ipcalc")
(license gpl2+)))
Thanks,
--
Daniel Pimentel (d4n1 3:)