sys-boot/refit: initial checkin

(Portage version: 2.2.0_alpha4/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2724 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-11-12 16:26:46 +00:00
parent e916ce11e7
commit 5bc9cf7e26
4 changed files with 27 additions and 10 deletions

8
sys-boot/refit/ChangeLog Normal file
View File

@ -0,0 +1,8 @@
# ChangeLog for sys-boot/refit
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild,
+metadata.xml:
initial checkin

View File

@ -1,3 +1,5 @@
DIST refit_0.14-2.debian.tar.gz 42302 RMD160 615b9f961c69bbfca72d8a8d4a05315600de7727 SHA1 c994c168b3e8614419a0375de116530f9f84a8b1 SHA256 5418b9d6645453ac53e831c59a255ecfe85a09038e0d5d08fc1a55cf6fb087a3 DIST refit_0.14-2.debian.tar.gz 42302 RMD160 615b9f961c69bbfca72d8a8d4a05315600de7727 SHA1 c994c168b3e8614419a0375de116530f9f84a8b1 SHA256 5418b9d6645453ac53e831c59a255ecfe85a09038e0d5d08fc1a55cf6fb087a3
DIST refit_0.14.orig.tar.gz 625164 RMD160 cb0122e58d2f7ecfacebe4147aab98288475716a SHA1 79b0f2473d6628404cb51bdaf49a4205c409c31b SHA256 0101ac403c3a8c90813df20726c9e76a58515ca7d1a35a7b2ab42eaf28e25e1e DIST refit_0.14.orig.tar.gz 625164 RMD160 cb0122e58d2f7ecfacebe4147aab98288475716a SHA1 79b0f2473d6628404cb51bdaf49a4205c409c31b SHA256 0101ac403c3a8c90813df20726c9e76a58515ca7d1a35a7b2ab42eaf28e25e1e
EBUILD refit-0.14.2.ebuild 2080 RMD160 f55685086d8210854c9573bc1eda02744bd1aa40 SHA1 0f2bd66825862e548e4ececfbea7c8c05e518dfc SHA256 e185521deb09ff4c7cc41bb5723a20b5eb0fc806fb288a63e36b7e54d83ee4b8 EBUILD refit-0.14.2.ebuild 2048 RMD160 5a82da6484054c72715b3420b5c2445ef23f1097 SHA1 896699ece82ee275b36bb244bdaf2333a6986816 SHA256 ff7dc56d63381f395caa5585468a4b1501fb3696ada8cc315d89d6c9fb91e209
MISC ChangeLog 223 RMD160 d286558a038abb54866b7888584a10d14a3eab87 SHA1 9818044cd84cdbc185ca2bc97ad787218c91be89 SHA256 2888afac7983b1b8783210bd8bb626072a25bc1fab36691dd7f3e7db6dbe21b3
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>mario.fetka@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -19,15 +19,16 @@ S="${WORKDIR}/${MY_PN}-${MY_PV}"
SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/" SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/"
SRC_URI="${SRC_URI_BASE}${MY_PN}_${MY_PV}.orig.tar.gz SRC_URI="${SRC_URI_BASE}${MY_PN}_${MY_PV}.orig.tar.gz
${SRC_URI_BASE}${MY_PN}_${MY_PVR}.debian.tar.gz" ${SRC_URI_BASE}${MY_PN}_${MY_PVR}.debian.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ia64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="" IUSE=""
DEPEND=">=sys-boot/gnu-efi-0.3a DEPEND=">=sys-boot/gnu-efi-0.3a
sys-boot/syslinux" sys-boot/syslinux"
RDEPEND=""
src_prepare() { src_prepare() {
for f in $(<"${WORKDIR}"/debian/patches/series) ; do for f in $(<"${WORKDIR}"/debian/patches/series) ; do
@ -39,7 +40,6 @@ src_prepare() {
src_compile() { src_compile() {
local iarch local iarch
case $ARCH in case $ARCH in
ia64) iarch=ia64 ;;
x86) iarch=ia32 ;; x86) iarch=ia32 ;;
amd64) iarch=x86_64 ;; amd64) iarch=x86_64 ;;
*) die "unknown architecture: $ARCH" ;; *) die "unknown architecture: $ARCH" ;;
@ -53,13 +53,13 @@ src_compile() {
cp -f "${WORKDIR}"/debian/font/egemb_font.h libeg/ cp -f "${WORKDIR}"/debian/font/egemb_font.h libeg/
# Build EFI applications # Build EFI applications
emake -C libeg SRCDIR=${S}/libeg ARCH=${iarch} || die emake -C libeg SRCDIR="${S}"/libeg ARCH=${iarch} || die
emake -C refit SRCDIR=${S}/refit ARCH=${iarch} DEBVER="${iarch} (Gentoo ${PVR})" || die emake -C refit SRCDIR="${S}"/refit ARCH=${iarch} DEBVER="${iarch} (Gentoo ${PVR})" || die
emake -C gptsync -f Makefile.gnuefi SRCDIR=${S}/gptsync ARCH=${iarch} || die emake -C gptsync -f Makefile.gnuefi SRCDIR="${S}"/gptsync ARCH=${iarch} || die
# Build the gptsync command-line utility # Build the gptsync command-line utility
mkdir gptsync/buildux mkdir gptsync/buildux
emake -C gptsync/buildux -f ../Makefile.unix SRCDIR=${S}/gptsync || die emake -C gptsync/buildux -f ../Makefile.unix SRCDIR="${S}"/gptsync || die
} }
src_install() { src_install() {
@ -72,5 +72,4 @@ src_install() {
doins -r icons doins -r icons
doins images/vollabel/refit.vollabel doins images/vollabel/refit.vollabel
doins refit.conf doins refit.conf
} }