--- /dev/null
+--- a/CMakeLists.txt 2019-07-24 16:42:07.128890166 +0200
++++ b/CMakeLists.txt 2019-07-24 16:42:40.001023963 +0200
+@@ -1493,18 +1493,6 @@
+ )
+
+ install (FILES
+- README
+- COPYING
+- AUTHORS
+- THANKS
+- NEWS
+- INSTALL
+- BUGS
+- DESTINATION ${CMAKE_INSTALL_DOCDIR}
+- #COMPONENT runtime
+- )
+-
+-install (FILES
+ contrib/Ephemeris/JPLEPH
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+ #COMPONENT runtime
--- /dev/null
+--- a/manpages/man1/jt65code.1.txt 2019-07-23 19:27:07.690602674 +0200
++++ b/manpages/man1/jt65code.1.txt 2019-07-23 19:27:22.098060819 +0200
+@@ -31,7 +31,7 @@
+
+ *jt65code*, *jt9code* and *jt4code* are utility programs that let you
+ explore the conversion of user-level messages into channel symbols or
+-“tone numbers.” These programs can be useful to someone designing a
++"tone numbers." These programs can be useful to someone designing a
+ beacon generator for JT9 or JT65, or for studying behavior of the
+ error-control codes for each of the protocols.
+
S=${WORKDIR}/wsjtx
-PATCHES=( "${FILESDIR}/${PN}-2.0.1-hamlib.patch" )
+PATCHES=( "${FILESDIR}/${PN}-2.0.1-hamlib.patch"
+ "${FILESDIR}/${PN}-fix-unicode.patch"
+ "${FILESDIR}/${PN}-drop-docs.patch" )
+
+DOCS=( AUTHORS BUGS NEWS README THANKS )
src_unpack() {
unpack ${A}
}
src_configure() {
+ cmake_comment_add_subdirectory debian
+
local mycmakeargs=(
-DWSJT_GENERATE_DOCS="$(usex doc)"
- -DWSJT_DOC_DESTINATION="/doc/${PF}"
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
rm "${D}"/usr/bin/rigctl{,d}-wsjtx || die
- rm "${D}"/usr/share/man/man1/rigctl{,d}-wsjtx.1.gz || die
- rm "${D}"/usr/share/doc/WSJT-X -R || die
-
+ rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1.gz || die
}