You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
733 B
34 lines
733 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
MY_P="${PN}_v${PV}"
|
|
|
|
DESCRIPTION="MPEG Library"
|
|
HOMEPAGE="http://www.mpeg.org/"
|
|
SRC_URI="http://www.mpeg.org/pub_ftp/mpeg/mssg/${MY_P}.tar.gz"
|
|
|
|
LICENSE="mpeg2enc"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
|
RESTRICT="mirror bindist" #465088
|
|
|
|
S="${WORKDIR}/mpeg2"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-fix-build-system.patch
|
|
"${FILESDIR}"/${P}-Wimplicit-function-declaration.patch
|
|
)
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
}
|
|
|
|
src_install() {
|
|
dobin src/mpeg2dec/mpeg2decode src/mpeg2enc/mpeg2encode
|
|
dodoc -r README doc/.
|
|
}
|