diff options
author | wbrana <wbrana@gmail.com> | 2012-10-12 11:29:48 +0200 |
---|---|---|
committer | wbrana <wbrana@gmail.com> | 2012-10-12 11:29:48 +0200 |
commit | 886e5c6340270ee3c7d189de7c4249e0ac483c92 (patch) | |
tree | 6ecd078c69ba09ac4a98dcf253395f51c37ad253 /dev-lang/crack/crack-0.7.1.ebuild | |
parent | [sys-devel/llvm] new ebuild with patch for dev-lang/crack (diff) | |
download | wbrana-886e5c6340270ee3c7d189de7c4249e0ac483c92.tar.gz wbrana-886e5c6340270ee3c7d189de7c4249e0ac483c92.tar.bz2 wbrana-886e5c6340270ee3c7d189de7c4249e0ac483c92.zip |
[dev-lang/crack] version bump to 0.7.1
Diffstat (limited to 'dev-lang/crack/crack-0.7.1.ebuild')
-rw-r--r-- | dev-lang/crack/crack-0.7.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/crack/crack-0.7.1.ebuild b/dev-lang/crack/crack-0.7.1.ebuild new file mode 100644 index 0000000..de415c5 --- /dev/null +++ b/dev-lang/crack/crack-0.7.1.ebuild @@ -0,0 +1,50 @@ +EAPI="4" +inherit eutils flag-o-matic multilib pax-utils + +DESCRIPTION="Crack language compiler, virtual machine, library" +HOMEPAGE="http://www.crack-lang.org/" +SRC_URI="https://crack-language.googlecode.com/files/${PN}-${PV}.tar.gz" +KEYWORDS="~amd64" +SLOT="0" +LICENSE="MPL-2.0" + +RDEPEND=" + app-arch/bzip2 + dev-libs/expat + dev-libs/libffi + dev-libs/libpcre + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/libpng + media-libs/libsdl + sys-devel/llvm + sys-libs/zlib + virtual/opengl + x11-libs/gtk+:2 + x11-libs/cairo + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXrender + x11-libs/libxcb + x11-libs/pixman + " +DEPEND=" + ${RDEPEND} + sys-devel/gcc + virtual/pkgconfig + " + +src_prepare() { + epatch "${FILESDIR}/crack-nopie.patch" +} + +src_compile() { + emake CXXFLAGS="-g -O3 -march=native -fomit-frame-pointer -funroll-loops --param max-unrolled-insns=64 -fno-PIE -fPIC" + pax-mark m .libs/crack +} + +src_install() { + emake -j1 DESTDIR="${D}" install +} |