diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-03-07 18:30:51 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-03-07 18:30:51 +0000 |
commit | 32ba18aadf0c99d78e1b52c2d57dd1fbcf09f90b (patch) | |
tree | 300ac0942c5ea07e2ca6a676a9d86fa2105c7b9d /dev-libs/cvector | |
parent | fix typo wrt #308347 (diff) | |
download | historical-32ba18aadf0c99d78e1b52c2d57dd1fbcf09f90b.tar.gz historical-32ba18aadf0c99d78e1b52c2d57dd1fbcf09f90b.tar.bz2 historical-32ba18aadf0c99d78e1b52c2d57dd1fbcf09f90b.zip |
building shared libs now
Package-Manager: portage-2.2_rc65/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/cvector')
-rw-r--r-- | dev-libs/cvector/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/cvector/Manifest | 11 | ||||
-rw-r--r-- | dev-libs/cvector/cvector-1.0.3-r1.ebuild (renamed from dev-libs/cvector/cvector-1.0.3.ebuild) | 23 | ||||
-rw-r--r-- | dev-libs/cvector/files/1.0.3-dynlib.patch | 36 |
4 files changed, 61 insertions, 18 deletions
diff --git a/dev-libs/cvector/ChangeLog b/dev-libs/cvector/ChangeLog index aef17b1bbe94..5ef6d9cad743 100644 --- a/dev-libs/cvector/ChangeLog +++ b/dev-libs/cvector/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/cvector # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/ChangeLog,v 1.2 2010/02/15 08:40:59 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/ChangeLog,v 1.3 2010/03/07 18:30:50 jlec Exp $ + +*cvector-1.0.3-r1 (07 Mar 2010) + + 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +files/1.0.3-dynlib.patch, -cvector-1.0.3.ebuild, + +cvector-1.0.3-r1.ebuild: + building shared libs now 15 Feb 2010; Justin Lecher (jlec) <jlec@j-schmitz.net> cvector-1.0.3.ebuild: diff --git a/dev-libs/cvector/Manifest b/dev-libs/cvector/Manifest index 87493483dfcc..3666487d4eac 100644 --- a/dev-libs/cvector/Manifest +++ b/dev-libs/cvector/Manifest @@ -2,14 +2,15 @@ Hash: SHA1 AUX 1.0.3-LDFLAGS.patch 1152 RMD160 334da8a5dca51ed531d74ce8bdc757e993486ddd SHA1 62cd1b88b799f402fc7fbaf953e74d97b4f4b01b SHA256 b3091eaa065eaea9420fe6b297f8cc2e1f9f82dcd2b9e0be3acebcc12b8e9b2c +AUX 1.0.3-dynlib.patch 1337 RMD160 2f4aa7dfbdc65acdd743c570077b41b04576aec1 SHA1 30df0c5134212777edf1890ca427236a285ed0c5 SHA256 bbd71f052f8273810b4d611d62f52e5030a84a3e3ac3e36dd64aef4b3e0a4fe5 DIST CVector-1.0.3.tar.gz 41642 RMD160 5ec9fdb5053ec5c5f7056a517a01af533fe17010 SHA1 d5cf218bc9b25d89387c1b09375beebd46115d7e SHA256 d3fa92de3cd5ba8697abdbb52080248b2c252a81cf40a8ec639be301518d0ce3 -EBUILD cvector-1.0.3.ebuild 1030 RMD160 46ee902b9b0a0117c122a952be9f358104c0753a SHA1 577dd8109aa45d9b34129d8800f54a3a779b3d3b SHA256 7de75dabcc061500832f07523ffe8fafe90ef897f8245c95ca257b97a0fd8f44 -MISC ChangeLog 833 RMD160 e5372011252717c3801409f3ec7303bcb264b8de SHA1 337875ff49c321f420fad494b24baaf0f38b61c2 SHA256 11e9a60062a51e84d97e18afc9ea5c42c252b320a60c32431f2f406df5872519 +EBUILD cvector-1.0.3-r1.ebuild 1236 RMD160 8cfce16b5ab1352f38c3ff80993c19626dbb29ff SHA1 35f66d083a587f631b0d6cc320b6b7093bbe86d6 SHA256 b5b2e89a81793b73f6fadbeb1c76b06f2db09baf275686641f42da8add51da35 +MISC ChangeLog 1028 RMD160 efd404b8b343a59d694467d6e1a27c1d90f3f8d3 SHA1 6a6bf5d4406d5ed3353caf59784ec09daa7a9daa SHA256 ead3c7406c294356c92a61e83da6c4d9f656298587a87cb17a73f525f3f9de4d MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAkt5CKEACgkQgAnW8HDreRbSbwCeOVVWxVtycuALLI/TgSmucSO0 -pnUAn2c8y3Jy6eVYpfE9XbB8bflhkzsF -=aD10 +iEYEARECAAYFAkuT8N8ACgkQgAnW8HDreRY1OgCgt+Zzv3NT7XBr2vyvV2vxfN+4 +000An1sv+ck5uJVJL1cWpPcNH1LlgccX +=JyFv -----END PGP SIGNATURE----- diff --git a/dev-libs/cvector/cvector-1.0.3.ebuild b/dev-libs/cvector/cvector-1.0.3-r1.ebuild index 51c018d5db37..e2ec926246bb 100644 --- a/dev-libs/cvector/cvector-1.0.3.ebuild +++ b/dev-libs/cvector/cvector-1.0.3-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/cvector-1.0.3.ebuild,v 1.2 2010/02/15 08:40:59 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/cvector-1.0.3-r1.ebuild,v 1.1 2010/03/07 18:30:50 jlec Exp $ -inherit eutils toolchain-funcs +inherit base eutils toolchain-funcs versionator MY_PN=CVector MY_P="${MY_PN}-${PV}" @@ -21,25 +21,24 @@ DEPEND="${RDEPEND}" S="${WORKDIR}"/${MY_P} -src_prepare() { - epatch "${FILESDIR}"/${PV}-LDFLAGS.patch -} +PATCHES=( + "${FILESDIR}"/${PV}-LDFLAGS.patch + "${FILESDIR}"/${PV}-dynlib.patch + ) src_compile() { emake \ CC=$(tc-getCC) \ CXX=$(tc-getCXX) \ CFLAGS="${CFLAGS}" \ - all || die "compilation failed" -} - -src_test() { - emake tests || die "test failed" + all || die } src_install() { - dobin bin/* || die - dolib.a lib/.libs/*.a || die + dolib.so *.so.${PV} || die + dosym libCVector.so.${PV} /usr/$(get_libdir)/libCVector.so.$(get_version_component_range 1-2) || die + dosym libCVector.so.${PV} /usr/$(get_libdir)/libCVector.so.$(get_major_version) || die + dosym libCVector.so.${PV} /usr/$(get_libdir)/libCVector.so || die insinto /usr/include doins *.h || die diff --git a/dev-libs/cvector/files/1.0.3-dynlib.patch b/dev-libs/cvector/files/1.0.3-dynlib.patch new file mode 100644 index 000000000000..890935161182 --- /dev/null +++ b/dev-libs/cvector/files/1.0.3-dynlib.patch @@ -0,0 +1,36 @@ +diff --git a/Makefile b/Makefile +index 865db81..227376c 100644 +--- a/Makefile ++++ b/Makefile +@@ -96,8 +96,8 @@ BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(IN + INSTALL_COMMAND = $(LIBTOOL) --mode=install cp + INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish + +-OBJ_EXT = lo +-LIB_EXT = la ++OBJ_EXT = o ++LIB_EXT = so + + ###################################################################### + # You should not need to make modifications below this line # +@@ -181,8 +181,7 @@ default: + # Compile the library and examples + # + all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ +- $(LIB)/libCVector.$(LIB_EXT) \ +- $(BIN)/CVectorBasicTest ++ $(LIB)/libCVector.$(LIB_EXT) + + install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include \ + $(INC) $(LIB)/libCVector.$(LIB_EXT) $(INC)/CVector.h +@@ -232,8 +231,8 @@ $(BIN): + # CVector library + # + $(LIB)/libCVector.$(LIB_EXT): $(SOURCE) $(HEADERS) $(COMMONDEP) +- $(COMPILE_COMMAND) -c $(SOURCE) +- $(LIBRARY_LINK_COMMAND) -o $(LIB)/libCVector.$(LIB_EXT) *.$(OBJ_EXT) ++ $(CC) $(CFLAGS) -fPIC -c $(SOURCE) -o CVector.o ++ $(CC) $(LDFLAGS) -Wl,--soname,libCVector.so.1 -shared -o libCVector.so.$(RELEASE) *.$(OBJ_EXT) -lm + + # + # CVectorBasicTest example program |