dev-libs/mozldap: Repoman Cleanup
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@460 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
61c7f0cf0d
commit
6aaf9b2d52
@ -2,6 +2,9 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com> mozldap-6.0.5.ebuild:
|
||||
Repoman Cleanup
|
||||
|
||||
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> mozldap-6.0.5.ebuild:
|
||||
correct typo
|
||||
|
||||
|
@ -1,20 +1,5 @@
|
||||
AUX mozldap-6.0.4-pkgconfig.patch 714 RMD160 e0380bc0d6af49924c9e599f3ce8e1512ae8105f SHA1 d427f59df496bf5eff0aa5b33918a19142bce22c SHA256 d93fc59fa49f825484d8456288d6d98aaaccf4ee729ca27f0887a9ba6d812a10
|
||||
MD5 ac5146836b8b1d824aed7514312c9872 files/mozldap-6.0.4-pkgconfig.patch 714
|
||||
RMD160 e0380bc0d6af49924c9e599f3ce8e1512ae8105f files/mozldap-6.0.4-pkgconfig.patch 714
|
||||
SHA256 d93fc59fa49f825484d8456288d6d98aaaccf4ee729ca27f0887a9ba6d812a10 files/mozldap-6.0.4-pkgconfig.patch 714
|
||||
DIST mozldap-6.0.5.tar.gz 708776 RMD160 e5843ac02181f36d3880ec22b955a0ce189ce11b SHA1 2a6c8c227d1b1f1a85dd4f7c75796f51e7c899af SHA256 b7a2faf0cdbf949890312124978b4412ddc22107f2f897bcb1d5237cfa903337
|
||||
EBUILD mozldap-6.0.5.ebuild 3367 RMD160 ec3fd440a8942770a66ba00a6e29aef04c4b0fbb SHA1 646b941a8106188b7edc972e3cd1c94d06c61e8b SHA256 014440c71811bb7751ee2894739995a7bed6822080d963281905c620a81285de
|
||||
MD5 76981357a8bdf8e5659f692e60e53c3e mozldap-6.0.5.ebuild 3367
|
||||
RMD160 ec3fd440a8942770a66ba00a6e29aef04c4b0fbb mozldap-6.0.5.ebuild 3367
|
||||
SHA256 014440c71811bb7751ee2894739995a7bed6822080d963281905c620a81285de mozldap-6.0.5.ebuild 3367
|
||||
MISC ChangeLog 424 RMD160 7e607f583825f7a0d1f08dd48b0b7b98d2cfe826 SHA1 e8cb91ed7d22c4fcc4946552f69dc341aae304c1 SHA256 339ba846ee615321ec6c434d49e8e60265c312cdfddaff718f1577ae6e544b53
|
||||
MD5 1a31846316289049f0ad52e1efa0f4d9 ChangeLog 424
|
||||
RMD160 7e607f583825f7a0d1f08dd48b0b7b98d2cfe826 ChangeLog 424
|
||||
SHA256 339ba846ee615321ec6c434d49e8e60265c312cdfddaff718f1577ae6e544b53 ChangeLog 424
|
||||
EBUILD mozldap-6.0.5.ebuild 3380 RMD160 7cc85e245e863198a152e9ccbfaf75e705b76d9b SHA1 c31daa0ce15cf894ce9108e3ae9927ac31075739 SHA256 80b3fa7f0afd037d145d25845e09bc90ad19666827b2080036cb902eb82498ff
|
||||
MISC ChangeLog 516 RMD160 2c669b8f777aa37e8cce1574a2a274f4e12e9583 SHA1 aca452b70990813703e624e9eb18d7add2d4c8c6 SHA256 8731a3949700d169180ea8efb111fea7bc19818c845f0979e828f042c9dd44ed
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
|
||||
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
|
||||
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
|
||||
MD5 c959b4e11f33c07d078cf2f333a46b98 files/digest-mozldap-6.0.5 241
|
||||
RMD160 57d96ae5e70bd7fa2b00da3b8b13d42cec37cdfc files/digest-mozldap-6.0.5 241
|
||||
SHA256 47b25666f92943d1811ed370cddee979e8bb8904b7cbc8602fea66421d52e0de files/digest-mozldap-6.0.5 241
|
||||
|
@ -23,7 +23,7 @@ RDEPEND="${DEPEND}"
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch ${FILESDIR}/${PN}-6.0.4-pkgconfig.patch
|
||||
epatch "${FILESDIR}"/${PN}-6.0.4-pkgconfig.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@ -49,16 +49,16 @@ src_compile() {
|
||||
--with-svrcore-inc=/usr/include/svrcore \
|
||||
--with-svrcore-lib=/usr/$(get_libdir)/svrcore \
|
||||
--enable-clu \
|
||||
--enable-optimize \
|
||||
--enable-optimize \
|
||||
${myconf} || die "econf failed"
|
||||
make || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# Their build system is royally fucked, as usual
|
||||
cd ${S}/mozilla/directory/c-sdk
|
||||
cd "${S}"/mozilla/directory/c-sdk
|
||||
sed -e "s,%libdir%,\$\{exec_prefix\}/$(get_libdir)/${PN},g" \
|
||||
-e "s,%prefix%,/usr,g" \
|
||||
-e "s,%prefix%,/usr,g" \
|
||||
-e "s,%major%,$(get_major_version ${PV}),g" \
|
||||
-e "s,%minor%,$(get_version_component_range 2 ${PV}),g" \
|
||||
-e "s,%submin%,$(get_version_component_range 3 ${PV}),g" \
|
||||
@ -72,22 +72,22 @@ src_install () {
|
||||
-e "s,%MOZLDAP_VERSION%,${PV},g" \
|
||||
${PN}.pc.in > ${PN}.pc
|
||||
make install
|
||||
rm -rf ${S}/mozilla/dist/bin/lib*.so
|
||||
rm -rf ${S}/mozilla/dist/public/ldap-private
|
||||
rm -rf "${S}"/mozilla/dist/bin/lib*.so
|
||||
rm -rf "${S}"/mozilla/dist/public/ldap-private
|
||||
|
||||
exeinto /usr/$(get_libdir)/mozldap
|
||||
doexe ${S}/mozilla/dist/lib/*so*
|
||||
doexe ${S}/mozilla/dist/lib/*.a
|
||||
doexe ${S}/mozilla/dist/bin/*
|
||||
doexe "${S}"/mozilla/dist/lib/*so*
|
||||
doexe "${S}"/mozilla/dist/lib/*.a
|
||||
doexe "${S}"/mozilla/dist/bin/*
|
||||
# move the headers around
|
||||
insinto /usr/include/mozldap
|
||||
doins ${S}/mozilla/dist/public/ldap/*.h
|
||||
doins "${S}"/mozilla/dist/public/ldap/*.h
|
||||
# add sample config
|
||||
insinto /usr/share/mozldap
|
||||
doins ${S}/mozilla/dist/etc/*.conf
|
||||
doins "${S}"/mozilla/dist/etc/*.conf
|
||||
#and while at it move them to files with versions-ending
|
||||
#and link them back :)
|
||||
cd ${D}/usr/$(get_libdir)/mozldap
|
||||
cd "${D}"/usr/$(get_libdir)/mozldap
|
||||
#create compatibility Link
|
||||
ln -sf libldap$(get_major_version ${PV})$(get_version_component_range 2 ${PV}).so liblber$(get_major_version ${PV})$(get_version_component_range 2 ${PV}).so
|
||||
#so lets move
|
||||
@ -98,9 +98,9 @@ src_install () {
|
||||
done
|
||||
# cope with libraries being in /usr/lib/mozldap
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/mozldap" > ${D}/etc/env.d/08mozldap
|
||||
echo "LDPATH=/usr/$(get_libdir)/mozldap" > "${D}"/etc/env.d/08mozldap
|
||||
|
||||
# create pkg-config file
|
||||
insinto /usr/$(get_libdir)/pkgconfig/
|
||||
doins ${S}/mozilla/directory/c-sdk/mozldap.pc
|
||||
doins "${S}"/mozilla/directory/c-sdk/mozldap.pc
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user