par
This commit is contained in:
parent
3a371e5d69
commit
df40e6eee9
11
dev-lang/par/metadata.xml
Normal file
11
dev-lang/par/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>corey@mail.ylink.one</email>
|
||||
<name>coreydunn</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<!--<remote-id type="github">coreydunn/par</remote-id>-->
|
||||
</upstream>
|
||||
</pkgmetadata>
|
32
dev-lang/par/par-0.2.6.ebuild
Normal file
32
dev-lang/par/par-0.2.6.ebuild
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Lexer, parser, and code generator for i386 and x86_64"
|
||||
HOMEPAGE="https://git.ylink.one/corey/par"
|
||||
SRC_URI="https://git.ylink.one/corey/par/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake all
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
unpack ${P}.tar.gz
|
||||
mv par ${P}
|
||||
mv ${P}/* ./
|
||||
printf "#pragma once\n#define VERSION \"${PV}\"" > version.h
|
||||
cd "${S}/${P}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
}
|
Loading…
Reference in New Issue
Block a user