mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-tex/metapost: drop old EAPI
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST metapost-1.780-src.tar.bz2 7723409 BLAKE2B 851738637f4ec9cc0e9f8d416094f3904fb563be05e461d4f16b1a268675b0789047bb8d54f8fe6551e66b32b5c3e58e35bdf2ec64ef8486cb0c4e9476ec6c71 SHA512 3002da0706fcd33a2d183f42b770b7c2d72759a8ba0e49ae24e4a5cee5dd9cd0842e7e8d854e22962beaff4dfd1b943a63f41ee07a7743bb7d50a0cdfb4dd4ff
|
||||
DIST metapost-1.803-src.tar.bz2 8140579 BLAKE2B 9232a875da449b8caa667623e725317336d737e16c2d0b2647e9579fad067ea3eae85eb74ae9a05bfb079e7b18edcb18ee7a7c26bbee343b8ecbd6f5ed84ce90 SHA512 7f59e93f73c9f9c6fe547028dd22527c948ea171c235758e1acf9477c85d2fb2cc145b3bd707646a4b5317e57ce5d49160ff347cdecca599b6e0da8a8f679d99
|
||||
DIST metapost-1.902-src.tar.bz2 6170876 BLAKE2B 7b276fb4c9373a8ac43ef4c6c40c8e6c6726e93ab4cb82d4c34371025e448e985d1a5df587f8b108e786542bb1c4852977eaae964dd991824a506dca5eed9f53 SHA512 d1e38d9f6f16b6815999c1d05b70ece50668962660af0800c105075522a2d943156986aa8df76d7bd2b6d04f657295c15a04a6e67772ce1d8546b885c355aea3
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="System for producing graphics"
|
||||
HOMEPAGE="http://tug.org/metapost.html"
|
||||
SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/395/1879/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/kpathsea
|
||||
>=app-eselect/eselect-mpost-0.3
|
||||
x11-libs/cairo
|
||||
x11-libs/pixman
|
||||
media-libs/libpng"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}/source/texk/web2c
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-all-pkgs \
|
||||
--enable-shared \
|
||||
--disable-largefile \
|
||||
--disable-ptex \
|
||||
--enable-mp \
|
||||
--with-system-cairo \
|
||||
--with-system-libpng \
|
||||
--without-ptexenc \
|
||||
--with-system-kpathsea \
|
||||
--with-system-xpdf \
|
||||
--with-system-freetype \
|
||||
--with-system-freetype2 \
|
||||
--with-system-gd \
|
||||
--with-system-teckit \
|
||||
--with-system-t1lib \
|
||||
--with-system-icu \
|
||||
--with-system-graphite \
|
||||
--with-system-zziplib \
|
||||
--with-system-poppler \
|
||||
--with-system-zlib \
|
||||
--with-system-pixman \
|
||||
--disable-native-texlive-build \
|
||||
--without-mf-x-toolkit --without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake mpost
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SUBDIRS="" \
|
||||
bin_PROGRAMS="mpost" \
|
||||
nodist_man_MANS="" \
|
||||
dist_man_MANS="" \
|
||||
install-binPROGRAMS
|
||||
# Rename it
|
||||
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed"
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
dodoc README CHANGES
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
einfo "Calling eselect mpost update"
|
||||
eselect mpost update
|
||||
}
|
||||
Reference in New Issue
Block a user