Ice: add depends file, remove cruft, do not embed wrong rpath, etc.
This commit is contained in:
parent
eb84397138
commit
1b928bbb9d
3 changed files with 10 additions and 2 deletions
|
@ -5,6 +5,8 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run Ice
|
||||
|
||||
do_install()
|
||||
|
|
2
srcpkgs/Ice/depends
Normal file
2
srcpkgs/Ice/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=3.4.2_1"
|
||||
api_depends="${abi_depends}"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'Ice'
|
||||
pkgname=Ice
|
||||
version=3.4.2
|
||||
revision=1
|
||||
revision=2
|
||||
homepage="http://www.zeroc.com"
|
||||
distfiles="${homepage}/download/Ice/3.4/${pkgname}-${version}.tar.gz"
|
||||
short_desc="The Internet Communications Engine (Ice)"
|
||||
|
@ -41,12 +41,13 @@ do_configure()
|
|||
{
|
||||
sed -i -e "s|^#OPTIMIZE|OPTIMIZE|" config/Make.rules
|
||||
sed -i -e "s|x)/config|x)/lib/Ice/config|" config/Make.rules
|
||||
sed -i '/^embedded_runpath_prefix*/d' config/Make.rules
|
||||
sed -i -e "s|test demo||" Makefile
|
||||
}
|
||||
|
||||
do_build()
|
||||
{
|
||||
make ${makejobs}
|
||||
make prefix=/usr ${makejobs}
|
||||
}
|
||||
|
||||
do_install()
|
||||
|
@ -64,4 +65,7 @@ do_install()
|
|||
rm ${DESTDIR}/usr/LICENSE
|
||||
mv ${DESTDIR}/usr/ICE_LICENSE \
|
||||
${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
|
||||
|
||||
# remove unused cruft
|
||||
rm -f ${DESTDIR}/usr/lib/*.class
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue