summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-04 14:25:35 -0500
committerSam James <sam@gentoo.org>2021-12-04 21:52:43 +0000
commitc07fd1c795c3ae818606497bcdc0177f30e0cec7 (patch)
tree032f13526dee03865a74d791eb94c679cdbda23d /media-libs/libjpeg-turbo
parentmedia-gfx/openvdb: fix issue if imath and ilmbase are both installed (diff)
downloadgentoo-c07fd1c795c3ae818606497bcdc0177f30e0cec7.tar.gz
gentoo-c07fd1c795c3ae818606497bcdc0177f30e0cec7.tar.bz2
gentoo-c07fd1c795c3ae818606497bcdc0177f30e0cec7.zip
media-libs/libjpeg-turbo: use ebuild helpers instead of cmake
Closes: https://bugs.gentoo.org/728012 Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Closes: https://github.com/gentoo/gentoo/pull/23183 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libjpeg-turbo')
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-2.1.2-r1.ebuild (renamed from media-libs/libjpeg-turbo/libjpeg-turbo-2.1.2.ebuild)14
1 files changed, 2 insertions, 12 deletions
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.2.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.2-r1.ebuild
index 9fa044960821..2b46c483b248 100644
--- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.2.ebuild
+++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.2-r1.ebuild
@@ -53,18 +53,6 @@ install(TARGETS ${FILE%.c})
EOF
done
- for FILE in ../debian/extra/exifautotran; do
- cat >> CMakeLists.txt <<EOF || die
-install(FILES \${CMAKE_CURRENT_SOURCE_DIR}/${FILE} DESTINATION \${CMAKE_INSTALL_BINDIR})
-EOF
- done
-
- for FILE in ../debian/extra/*.[0-9]*; do
- cat >> CMakeLists.txt <<EOF || die
-install(FILES \${CMAKE_CURRENT_SOURCE_DIR}/${FILE} DESTINATION \${CMAKE_INSTALL_MANDIR}/man${FILE##*.})
-EOF
- done
-
cmake_src_prepare
java-pkg-opt-2_src_prepare
}
@@ -116,6 +104,8 @@ multilib_src_install_all() {
einstalldocs
newdoc "${WORKDIR}"/debian/changelog changelog.debian
+ dobin "${WORKDIR}"/debian/extra/exifautotran
+ doman "${WORKDIR}"/debian/extra/*.[0-9]*
docinto html
dodoc -r "${S}"/doc/html/.