(use-modules (guix packages)
             (guix download)
             (guix build-system gnu)
             (guix licenses)
             (gnu packages autotools)
             (gnu packages cups)
             (gnu packages pkg-config)
             (gnu packages gettext)
             (gnu packages gtk))

(package
 (name "gtklp")
 (version "1.3.3")
 (source (origin
          (method url-fetch)
          (uri (string-append "mirror://sourceforge/gtklp/gtklp/" version
                              "/gtklp-" version ".src.tar.gz"))
          (sha256
           (base32
            "1gzv5fjnlkzi6fjv0xwh8c21z12rb4lb6306pazmbs73p0i5q43f"))))
 (build-system gnu-build-system)
 (arguments
  (list
   #:configure-flags '(list "CFLAGS=-fcommon")
   #:phases
   '(modify-phases %standard-phases
      (add-after 'unpack 'force-bootstrap
        (lambda _ (delete-file "configure"))))))
 (inputs
  (list cups gtk+-2))
 (native-inputs
  (list autoconf automake gettext-minimal libtool pkg-config))
 (home-page "https://sourceforge.net/projects/gtklp/")
 (synopsis "Graphical frontend to CUPS")
 (description
  "GtkLP is a graphical Frontend to CUPS.  It is intended to be easy to use
and small.")
 (license gpl2))

Generated by Ricardo Wurmus using scpaste at Wed Mar 29 12:13:30 2023. CEST. (original)