mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
Ice: install license in proper dir, fixes for x86_64 install.
This commit is contained in:
parent
26f26fa516
commit
e0b3948127
1 changed files with 13 additions and 4 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'Ice'
|
# Template file for 'Ice'
|
||||||
pkgname=Ice
|
pkgname=Ice
|
||||||
version=3.4.2
|
version=3.4.2
|
||||||
|
revision=1
|
||||||
homepage="http://www.zeroc.com"
|
homepage="http://www.zeroc.com"
|
||||||
distfiles="${homepage}/download/Ice/3.4/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/download/Ice/3.4/${pkgname}-${version}.tar.gz"
|
||||||
short_desc="The Internet Communications Engine (Ice)"
|
short_desc="The Internet Communications Engine (Ice)"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
license="GPL, ICE"
|
license="GPL-2, ICE"
|
||||||
checksum=dcf0484495b6df0849ec90a00e8204fe5fe1c0d3882bb438bf2c1d062f15c979
|
checksum=dcf0484495b6df0849ec90a00e8204fe5fe1c0d3882bb438bf2c1d062f15c979
|
||||||
long_desc="
|
long_desc="
|
||||||
The Internet Communications Engine (Ice) is a modern object-oriented toolkit
|
The Internet Communications Engine (Ice) is a modern object-oriented toolkit
|
||||||
|
@ -50,9 +51,17 @@ do_build()
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
make ${makejobs} prefix=${DESTDIR}/usr install
|
if [ "$xbps_machine" = "x86_64" ]; then
|
||||||
vmkdir usr/share/licenses
|
vmkdir usr/lib
|
||||||
|
cd ${DESTDIR}/usr && ln -s lib lib64
|
||||||
|
cd ${wrksrc}
|
||||||
|
fi
|
||||||
|
make prefix=${DESTDIR}/usr install
|
||||||
|
[ -h ${DESTDIR}/usr/lib64 ] && rm -f ${DESTDIR}/usr/lib64
|
||||||
|
|
||||||
|
vmkdir usr/share/licenses/${pkgname}
|
||||||
mv ${DESTDIR}/usr/slice ${DESTDIR}/usr/share
|
mv ${DESTDIR}/usr/slice ${DESTDIR}/usr/share
|
||||||
rm ${DESTDIR}/usr/LICENSE
|
rm ${DESTDIR}/usr/LICENSE
|
||||||
mv ${DESTDIR}/usr/ICE_LICENSE ${DESTDIR}/usr/share/licenses
|
mv ${DESTDIR}/usr/ICE_LICENSE \
|
||||||
|
${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue