Changeset e6bf1af9 for Slackware


Ignore:
Timestamp:
Oct 22, 2010 2:43:17 AM (9 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
7ff873b
Parents:
3998ce31
Message:

Sanity and some fixs for slackware package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p/i2p.SlackBuild

    r3998ce31 re6bf1af9  
    8686
    8787#############################################################################
    88 # Preconfigureation to make package smaller
     88# Preconfigureation to make package smaller, and...
     89# we keep as much as reasonable in the installation directory.
     90# This makes the install map fairly well to the standard installation.
     91# It also makes it easier to find the log and pid files!
    8992#############################################################################
    9093cd $PKG/$INSTALL_DIR/i2p
    9194
    9295# wrapper.config $INSTALL_PATH and $SYSTEM_java_io_tmpdir
    93 sed "s|\$INSTALL_PATH|$INSTALL_DIR/i2p|g" wrapper.config > a
    94 sed "s|\$SYSTEM_java_io_tmpdir|/var/tmp|g" a > wrapper.config
     96sed "s|\$INSTALL_PATH|/$INSTALL_DIR/i2p|g" wrapper.config > a
     97sed "s|\$SYSTEM_java_io_tmpdir|/$INSTALL_DIR/i2p|g" a > wrapper.config
    9598# eepget %INSTALL_PATH
    96 sed "s|\$INSTALL_PATH|$INSTALL_DIR/i2p|g" eepget > a
     99sed "s|\$INSTALL_PATH|/$INSTALL_DIR/i2p|g" eepget > a
    97100rm eepget
    98101mv a eepget
    99102# runplain.sh %INSTALL_PATH and %SYSTEM_java_io_tmpdir
    100 sed "s|%INSTALL_PATH|$INSTALL_DIR/i2p|g" runplain.sh > a
    101 sed "s|%SYSTEM_java_io_tmpdir|/var/tmp|g" a > runplain.sh
     103sed "s|%INSTALL_PATH|/$INSTALL_DIR/i2p|g" runplain.sh > a
     104sed "s|%SYSTEM_java_io_tmpdir|/$INSTALL_DIR/i2p|g" a > runplain.sh
    102105# i2prouter %INSTALL_PATH and %SYSTEM_java_io_tmpdir
    103 sed "s|%INSTALL_PATH|$INSTALL_DIR/i2p|g" i2prouter > a
    104 sed "s|%SYSTEM_java_io_tmpdir|/var/tmp|g" a > i2prouter
     106sed "s|%INSTALL_PATH|/$INSTALL_DIR/i2p|g" i2prouter > a
     107sed "s|%SYSTEM_java_io_tmpdir|/$INSTALL_DIR/i2p|g" a > i2prouter
    105108
    106109chmod 744 ./i2prouter
Note: See TracChangeset for help on using the changeset viewer.