Still adjusting the library & include pathes.
This commit is contained in:
parent
525cd7250d
commit
2eb3754846
|
@ -13,11 +13,23 @@ export DH_VERBOSE=1
|
||||||
dh $@ --with python-central
|
dh $@ --with python-central
|
||||||
|
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- --enable-alc-shared --disable-static
|
||||||
|
|
||||||
|
|
||||||
|
override_dh_makeshlibs:
|
||||||
|
dh_makeshlibs
|
||||||
|
ldsoconfdir="/etc/ld.so.conf.d"; \
|
||||||
|
allianceldsoconf="$${ldsoconfdir}/alliance.conf"; \
|
||||||
|
echo "# Alliance VLSI design system" > $${allianceldsoconf}; \
|
||||||
|
echo "/usr/lib/alliance/lib" > $${allianceldsoconf};
|
||||||
|
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install
|
dh_auto_install
|
||||||
destdir="`pwd`/debian/alliance"; \
|
destdir="`pwd`/debian/alliance"; \
|
||||||
prefix="/usr"; \
|
prefix="/usr/lib/alliance"; \
|
||||||
sharedir="$${prefix}/share"; \
|
sharedir="/usr/share"; \
|
||||||
alliancesharedir="$${sharedir}/alliance"; \
|
alliancesharedir="$${sharedir}/alliance"; \
|
||||||
celldir="$${alliancesharedir}/cell"; \
|
celldir="$${alliancesharedir}/cell"; \
|
||||||
docdir="$${sharedir}/doc/alliance"; \
|
docdir="$${sharedir}/doc/alliance"; \
|
||||||
|
|
|
@ -205,8 +205,8 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||||
pushd %{buildroot}%{_sysconfdir}/profile.d
|
pushd %{buildroot}%{_sysconfdir}/profile.d
|
||||||
chmod 0644 alc_env.*
|
chmod 0644 alc_env.*
|
||||||
sed -i "s|@DATE@|`date`|" alc_env*
|
sed -i "s|@DATE@|`date`|" alc_env*
|
||||||
sed "s|ALLIANCE_TOP *= *\([^;]*\)|ALLIANCE_TOP=%{_prefix}|" alc_env.sh
|
sed -i "s|ALLIANCE_TOP *= *\([^;]*\)|ALLIANCE_TOP=%{prefix}|" alc_env.sh
|
||||||
sed "s|setenv *ALLIANCE_TOP *\([^;]*\)|setenv ALLIANCE_TOP %{_prefix}|" alc_env.csh
|
sed -i "s|setenv *ALLIANCE_TOP *\([^;]*\)|setenv ALLIANCE_TOP %{prefix}|" alc_env.csh
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# Alliance CAD system environnement
|
# Alliance CAD system environnement
|
||||||
# Usage (in C-shell) : > source alc_env.csh
|
# Usage (in C-shell) : > source alc_env.csh
|
||||||
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
|
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
|
||||||
# $Id: alc_env.csh.in,v 1.12 2011/02/10 11:44:53 jpc Exp $
|
# $Id: alc_env.csh.in,v 1.13 2011/02/10 13:36:58 jpc Exp $
|
||||||
# Generated from alc_env.csh.in on @DATE@
|
# Generated from alc_env.csh.in on @DATE@
|
||||||
|
|
||||||
# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
|
# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
setenv ALLIANCE_TOP "@prefix@"
|
setenv ALLIANCE_TOP "@prefix@"
|
||||||
set SYSCONF_TOP "${ALLIANCE_TOP}"
|
set SYSCONF_TOP "${ALLIANCE_TOP}"
|
||||||
set CELLS_TOP "${ALLIANCE_TOP}"
|
set CELLS_TOP "${ALLIANCE_TOP}"
|
||||||
if ( "${ALLIANCE_TOP}" == "/usr" ) then
|
if ( "${ALLIANCE_TOP}" == "/usr/lib/alliance" ) then
|
||||||
# For installation in the FHS.
|
# For installation in the FHS.
|
||||||
set SYSCONF_TOP "/etc/alliance"
|
set SYSCONF_TOP "/etc/alliance"
|
||||||
set CELLS_TOP "/usr/share/alliance/cells"
|
set CELLS_TOP "/usr/share/alliance/cells"
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
|
|
||||||
|
|
||||||
# System PATH variables, only needed when not installed in the FHS.
|
# System PATH variables, only needed when not installed in the FHS.
|
||||||
if ( "${ALLIANCE_TOP}" != "/usr" ) then
|
if ( "${ALLIANCE_TOP}" != "/usr/lib/alliance" ) then
|
||||||
if ( $?PATH ) then
|
if ( $?PATH ) then
|
||||||
setenv PATH "${PATH}:${ALLIANCE_TOP}/bin"
|
setenv PATH "${PATH}:${ALLIANCE_TOP}/bin"
|
||||||
else
|
else
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# Alliance CAD system environnement
|
# Alliance CAD system environnement
|
||||||
# Usage (in Bourne-shell) : > . alc_env.sh
|
# Usage (in Bourne-shell) : > . alc_env.sh
|
||||||
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
|
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
|
||||||
# $Id: alc_env.sh.in,v 1.12 2011/02/10 11:44:53 jpc Exp $
|
# $Id: alc_env.sh.in,v 1.13 2011/02/10 13:36:58 jpc Exp $
|
||||||
# Generated from alc_env.sh.in on @DATE@
|
# Generated from alc_env.sh.in on @DATE@
|
||||||
|
|
||||||
# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
|
# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
ALLIANCE_TOP=@prefix@; export ALLIANCE_TOP
|
ALLIANCE_TOP=@prefix@; export ALLIANCE_TOP
|
||||||
SYSCONF_TOP=$ALLIANCE_TOP
|
SYSCONF_TOP=$ALLIANCE_TOP
|
||||||
CELLS_TOP=$ALLIANCE_TOP
|
CELLS_TOP=$ALLIANCE_TOP
|
||||||
if [ "$ALLIANCE_TOP" = "/usr" ]; then
|
if [ "$ALLIANCE_TOP" = "/usr/lib/alliance" ]; then
|
||||||
# FHS Installation.
|
# FHS Installation.
|
||||||
SYSCONF_TOP="/etc/alliance"
|
SYSCONF_TOP="/etc/alliance"
|
||||||
CELLS_TOP="/usr/share/alliance/cells"
|
CELLS_TOP="/usr/share/alliance/cells"
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
|
|
||||||
# System PATH variables, only needed when not installed in the FHS.
|
# System PATH variables, only needed when not installed in the FHS.
|
||||||
if [ "$ALLIANCE_TOP" != "/usr" ]; then
|
if [ "$ALLIANCE_TOP" != "/usr/lib/alliance" ]; then
|
||||||
PATH=$PATH:$ALLIANCE_TOP/bin
|
PATH=$PATH:$ALLIANCE_TOP/bin
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue