gnu: Add libticonv.

* gnu/packages/emulators.scm (libticonv): 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 45c5851872
commit 98ff729e62
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1420,6 +1420,46 @@ (define-public libticables2
"This package contains libticables, a library for operations on
@acronym{TI, Texas Instruments} calculator link cables.
This is a part of the TiLP project.")
(home-page "http://lpg.ticalc.org/prj_tilp/")
(license license:gpl2+)))
(define-public libticonv
(package
(name "libticonv")
(version "1.1.5")
(source (origin
(method url-fetch)
(uri "https://www.ticalc.org/pub/unix/tilibs.tar.gz")
(sha256
(base32
"07cfwwlidgx4fx88whnlch6y1342x16h15lkvkkdlp2y26sn2yxg"))))
(build-system gnu-build-system)
(arguments
;; build fails with out --enable-iconv (...?)
`(#:configure-flags (list "--enable-iconv")
#:phases
(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key source #:allow-other-keys)
(invoke "tar" "xvkf" source)
(invoke "tar" "xvkf"
(string-append "tilibs2/libticonv-"
,version ".tar.bz2"))
(chdir (string-append "libticonv-" ,version))
#t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs
`(("glib" ,glib)))
(synopsis "Character conversion library for TI calculators")
(description
"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+)))