gnu: Add libtifiles2.

* gnu/packages/emulators.scm (libtifiles2): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Christopher Howard 2020-04-18 23:31:04 -08:00 committed by Christopher Baines
parent 98ff729e62
commit b823d4ed7f
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -1460,6 +1460,47 @@ This is a part of the TiLP project.")
"This package contains libticonv, a library to support working with
@acronym{TI, Texas Instruments} calculator charsets.
This is a part of the TiLP project.")
(home-page "http://lpg.ticalc.org/prj_tilp/")
(license license:gpl2+)))
(define-public libtifiles2
(package
(name "libtifiles2")
(version "1.1.7")
(source (origin
(method url-fetch)
(uri "https://www.ticalc.org/pub/unix/tilibs.tar.gz")
(sha256
(base32
"07cfwwlidgx4fx88whnlch6y1342x16h15lkvkkdlp2y26sn2yxg"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key source #:allow-other-keys)
(invoke "tar" "xvkf" source)
(invoke "tar" "xvkf"
(string-append "tilibs2/libtifiles2-"
,version ".tar.bz2"))
(chdir (string-append "libtifiles2-" ,version))
#t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("gettext" ,gnu-gettext)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs
`(("glib" ,glib)
("libarchive" ,libarchive)
("libticonv" ,libticonv)))
(synopsis "File functions library for TI calculators")
(description
"This package contains libticonv, a library to support working with
@acronym{TI, Texas Instruments} calculator files.
This is a part of the TiLP project.")
(home-page "http://lpg.ticalc.org/prj_tilp/")
(license license:gpl2+)))