diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/regionset/regionset-0.2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/regionset/regionset-0.2.ebuild')
-rw-r--r-- | app-misc/regionset/regionset-0.2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/regionset/regionset-0.2.ebuild b/app-misc/regionset/regionset-0.2.ebuild new file mode 100644 index 000000000000..ccfb8796d511 --- /dev/null +++ b/app-misc/regionset/regionset-0.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Sets the region on DVD drives" +HOMEPAGE="http://linvdr.org/projects/regionset/" +SRC_URI="http://linvdr.org/download/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +src_prepare() { + sed "/^\.IR/s@${PN}@${PF}@" -i ${PN}.8 || die +} + +src_compile() { + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c dvd_udf.c || die +} + +src_install() { + dosbin ${PN} + doman ${PN}.8 + dodoc debian/changelog README +} + +pkg_postinst() { + ewarn "By default regionset uses /dev/dvd, specify a different device" + ewarn "as a command line argument if you need to. You need write access" + ewarn "to do this, preferably as root." + ewarn + ewarn "Most drives can only have their region changed 4 or 5 times." + ewarn + ewarn "When you use regionset, you MUST have a cd or dvd in the drive" + ewarn "otherwise nasty things will happen to your drive's firmware." +} |