diff options
author | scuri <scuri> | 2011-01-25 19:09:09 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-01-25 19:09:09 +0000 |
commit | 4df19d5cd13556ecf64cc55b0f7a7dc01ac603ee (patch) | |
tree | 5225881c817d3deb16eaaf79aec06f1dc2ce8c9a /install_dev | |
parent | a3ef3df6ecc95439e2d6fb909cc30fab77675e9f (diff) |
*** empty log message ***
Diffstat (limited to 'install_dev')
-rw-r--r-- | install_dev | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/install_dev b/install_dev index ec51a10..859229c 100644 --- a/install_dev +++ b/install_dev @@ -9,6 +9,9 @@ echo ' Must be run with "sudo" at the library folder, or install will fail:' echo ' sudo ./install_dev' echo ' ' +SYSTEM_LIB=/usr/lib +SYSTEM_INC=/usr/include + EchoDownloadTip() { echo ' The downloaded package must already be unpacked in the current directory.' @@ -61,17 +64,17 @@ ComputeTecUname() Copy_Dev_Extra_CD() { # Do NOT overwrite for FreeType - cp -fn $1libfreetype.a /usr/lib + cp -fn $1libfreetype.a $SYSTEM_LIB - cp -fv $1libpdflib.a /usr/lib - cp -fv $1libftgl.a /usr/lib + cp -fv $1libpdflib.a $SYSTEM_LIB + cp -fv $1libftgl.a $SYSTEM_LIB } Copy_Dev_To_System() { - mkdir -p /usr/include/$1 - cp -fv include/*.h /usr/include/$1 - cp -fv $2lib$1*.a /usr/lib + mkdir -p $SYSTEM_INC/$1 + cp -fv include/*.h $SYSTEM_INC/$1 + cp -fv $2lib$1*.a $SYSTEM_LIB if [ $1 == cd ]; then Copy_Dev_Extra_CD $2 |