diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-07-13 06:00:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-07-13 06:00:35 +0000 |
commit | aa7fdaaedb48bac33751b2080d2d9645cce81071 (patch) | |
tree | eafd1323d1cdf069339caa493a06b5f1380f9bb6 | |
parent | whitespace (diff) | |
download | gentoo-2-aa7fdaaedb48bac33751b2080d2d9645cce81071.tar.gz gentoo-2-aa7fdaaedb48bac33751b2080d2d9645cce81071.tar.bz2 gentoo-2-aa7fdaaedb48bac33751b2080d2d9645cce81071.zip |
initial import
(Portage version: 2.1.3_rc8)
-rw-r--r-- | sys-libs/libhugetlbfs/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libhugetlbfs/Manifest | 20 | ||||
-rw-r--r-- | sys-libs/libhugetlbfs/files/digest-libhugetlbfs-1.1 | 3 | ||||
-rw-r--r-- | sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch | 39 | ||||
-rw-r--r-- | sys-libs/libhugetlbfs/libhugetlbfs-1.1.ebuild | 39 | ||||
-rw-r--r-- | sys-libs/libhugetlbfs/metadata.xml | 5 |
6 files changed, 114 insertions, 0 deletions
diff --git a/sys-libs/libhugetlbfs/ChangeLog b/sys-libs/libhugetlbfs/ChangeLog new file mode 100644 index 000000000000..02ca15b8dd62 --- /dev/null +++ b/sys-libs/libhugetlbfs/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-libs/libhugetlbfs +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libhugetlbfs/ChangeLog,v 1.1 2007/07/13 06:00:35 vapier Exp $ + +*libhugetlbfs-1.1 (13 Jul 2007) + + 13 Jul 2007; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/sys-libs/libhugetlbfs/Manifest b/sys-libs/libhugetlbfs/Manifest new file mode 100644 index 000000000000..36b2e6a1739c --- /dev/null +++ b/sys-libs/libhugetlbfs/Manifest @@ -0,0 +1,20 @@ +AUX libhugetlbfs-1.1-build.patch 1255 RMD160 cf7d7a6906b3444370d36ae851c69f8b0454a6d4 SHA1 7a41c93e60d4830efd92d37c500604727728174b SHA256 3a3465ac8e5acbdae1f33829801bf87d6e60f06a13d533035346d65782e22226 +MD5 ab05b0327ecb4b6cba1a6d7ae9cf6e34 files/libhugetlbfs-1.1-build.patch 1255 +RMD160 cf7d7a6906b3444370d36ae851c69f8b0454a6d4 files/libhugetlbfs-1.1-build.patch 1255 +SHA256 3a3465ac8e5acbdae1f33829801bf87d6e60f06a13d533035346d65782e22226 files/libhugetlbfs-1.1-build.patch 1255 +DIST libhugetlbfs-1.1.tar.gz 66438 RMD160 10a95c9e10e99c0b85a57db10da8dbfd6d41e1c9 SHA1 aa36f828d914b0af5ec047b4101c2e67777b46c7 SHA256 dc349626b79762987a7fe98c75914f7af2c9ce314dc395944cdc5d477992547e +EBUILD libhugetlbfs-1.1.ebuild 775 RMD160 9f602e6044c61a4b5b417e9391dd53ddc3eca78b SHA1 3198e73d347d4c4150e870a34a16a33c59a4fe35 SHA256 06deacac9c55cebfae209a428f19e5751058de5e4c6326e33d3c8186a88da318 +MD5 20fbe6bc7a6c6dfa66d6a80d8720485d libhugetlbfs-1.1.ebuild 775 +RMD160 9f602e6044c61a4b5b417e9391dd53ddc3eca78b libhugetlbfs-1.1.ebuild 775 +SHA256 06deacac9c55cebfae209a428f19e5751058de5e4c6326e33d3c8186a88da318 libhugetlbfs-1.1.ebuild 775 +MISC ChangeLog 250 RMD160 6f26d52395e61b9ce660d22cca0fb9a38adffaad SHA1 dcf9c6061a0ec757afafadfcdf7a6289f64c84af SHA256 a51b01f9ca8e4f65f487a3710eb2aedd66e87d76c07144441d933e56222f906b +MD5 a90a8029841d2e72bdb5cfb0acf15d8d ChangeLog 250 +RMD160 6f26d52395e61b9ce660d22cca0fb9a38adffaad ChangeLog 250 +SHA256 a51b01f9ca8e4f65f487a3710eb2aedd66e87d76c07144441d933e56222f906b ChangeLog 250 +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 +SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164 +MD5 c4c40cccb0972eaa132dc673949ef705 files/digest-libhugetlbfs-1.1 247 +RMD160 277f522f5fb6c5ea974043c6804ece9123e11b8b files/digest-libhugetlbfs-1.1 247 +SHA256 cbaa753e4c402f1a34ddace2198c5a0d7775f7bc137703758bbdc65a280fab4b files/digest-libhugetlbfs-1.1 247 diff --git a/sys-libs/libhugetlbfs/files/digest-libhugetlbfs-1.1 b/sys-libs/libhugetlbfs/files/digest-libhugetlbfs-1.1 new file mode 100644 index 000000000000..4b3761546c34 --- /dev/null +++ b/sys-libs/libhugetlbfs/files/digest-libhugetlbfs-1.1 @@ -0,0 +1,3 @@ +MD5 1d46568ecb103d1d47c6792c288dd1af libhugetlbfs-1.1.tar.gz 66438 +RMD160 10a95c9e10e99c0b85a57db10da8dbfd6d41e1c9 libhugetlbfs-1.1.tar.gz 66438 +SHA256 dc349626b79762987a7fe98c75914f7af2c9ce314dc395944cdc5d477992547e libhugetlbfs-1.1.tar.gz 66438 diff --git a/sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch b/sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch new file mode 100644 index 000000000000..22451664dcc7 --- /dev/null +++ b/sys-libs/libhugetlbfs/files/libhugetlbfs-1.1-build.patch @@ -0,0 +1,39 @@ +--- Makefile ++++ Makefile +@@ -13,9 +13,10 @@ + + INSTALL = install + +-LDFLAGS = --no-undefined-version -Wl,--version-script=version.lds +-CFLAGS = -O2 -Wall -fPIC -g +-CPPFLAGS = -D__LIBHUGETLBFS__ ++LDFLAGS += --no-undefined-version -Wl,--version-script=version.lds ++CFLAGS ?= -O2 -g ++CFLAGS += -Wall -fPIC ++CPPFLAGS += -D__LIBHUGETLBFS__ + + ARCH = $(shell uname -m | sed -e s/i.86/i386/) + +@@ -145,11 +146,11 @@ + + obj32/libhugetlbfs.so: $(LIBOBJS:%=obj32/%) + @$(VECHO) LD32 "(shared)" $@ +- $(CC32) $(LDFLAGS) -shared -o $@ $^ $(LDLIBS) ++ $(CC32) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $^ $(LDLIBS) + + obj64/libhugetlbfs.so: $(LIBOBJS:%=obj64/%) + @$(VECHO) LD64 "(shared)" $@ +- $(CC64) $(LDFLAGS) -shared -o $@ $^ $(LDLIBS) ++ $(CC64) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $^ $(LDLIBS) + + obj32/%.i: %.c + @$(VECHO) CPP $@ +@@ -206,7 +206,7 @@ + @$(VECHO) OBJSCRIPT $* + sed "s!### SET DEFAULT LDSCRIPT PATH HERE ###!HUGETLB_LDSCRIPT_PATH=$(LDSCRIPTDIR)!" < $< > $@ + +-install: all $(OBJDIRS:%=%/install) $(INSTALL_OBJSCRIPT:%=objscript.%) ++install: libs $(OBJDIRS:%=%/install) $(INSTALL_OBJSCRIPT:%=objscript.%) + @$(VECHO) INSTALL + $(INSTALL) -d $(DESTDIR)$(LDSCRIPTDIR) + $(INSTALL) -m 644 $(INSTALL_LDSCRIPTS:%=ldscripts/%) $(DESTDIR)$(LDSCRIPTDIR) diff --git a/sys-libs/libhugetlbfs/libhugetlbfs-1.1.ebuild b/sys-libs/libhugetlbfs/libhugetlbfs-1.1.ebuild new file mode 100644 index 000000000000..395512518da6 --- /dev/null +++ b/sys-libs/libhugetlbfs/libhugetlbfs-1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libhugetlbfs/libhugetlbfs-1.1.ebuild,v 1.1 2007/07/13 06:00:35 vapier Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="easy hugepage access" +HOMEPAGE="http://libhugetlbfs.ozlabs.org/" +SRC_URI="http://libhugetlbfs.ozlabs.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + sed -i \ + -e '/^PREFIX/s:/local::' \ + -e '1iBUILDTYPE = NATIVEONLY' \ + -e '1iV = 1' \ + -e "/^LIB\(32\|64\)/s:=.*:= $(get_libdir):" \ + -e '/^CC\(32\|64\)/s:=.*:= $(CC):' \ + Makefile +} + +src_compile() { + tc-export AR CC + emake libs || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc HOWTO NEWS README +} diff --git a/sys-libs/libhugetlbfs/metadata.xml b/sys-libs/libhugetlbfs/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-libs/libhugetlbfs/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> |