Difference between revisions of "InstallWatch"

From CBLFS
Jump to navigationJump to search
(Created page.)
 
Line 12: Line 12:
  
 
== Dependencies ==
 
== Dependencies ==
 
None
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 19: Line 17:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s:/usr/local:/usr:g" test-installwatch.c &&
 
  make
 
  make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make PREFIX=/usr install
  
 
== Multilib ==
 
== Multilib ==
Line 31: Line 30:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" make
+
  sed -i "s:/usr/local:/usr:g" test-installwatch.c &&
 +
sed -i -e "s/^\tgcc/& ${BUILD32}/" \
 +
    -e "s/^\tld/& ${LD_BUILD32}/" Makefile &&
 +
make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make PREFIX=/usr install
  
 
=== N32 ===
 
=== N32 ===
Line 41: Line 43:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" make
+
  sed -i -e "s:/usr/local:/usr:" \
 +
    -e "s:/lib:&32:" test-installwatch.c &&
 +
sed -i "/LIBDIR=/s:/lib:&32:" installwatch &&
 +
sed -i -e "s/^\tgcc/& ${BUILDN32}/" Makefile &&
 +
make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make PREFIX=/usr LIBDIR=/usr/lib32 install
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 51: Line 57:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" make
+
sed -i -e "s:/usr/local:/usr:" \
 +
    -e "s:/lib:&64:" test-installwatch.c &&
 +
sed -i "/LIBDIR=/s:/lib:&64:" installwatch &&
 +
sed -i -e "s/^\tgcc/& ${BUILD64}/" Makefile &&
 +
make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make PREFIX=/usr LIBDIR=/usr/lib64 install
  
 
== Contents ==
 
== Contents ==
Line 69: Line 79:
 
!Installed Libraries:
 
!Installed Libraries:
 
|installwatch.so
 
|installwatch.so
|-valign="top"
 
!Symlinks:
 
|None
 
 
|}
 
|}
  

Revision as of 15:32, 9 February 2007

Download Source: http://asic-linux.com.mx/~izto/checkinstall/files/source/installwatch-0.6.3.tar.gz

Introduction to Installwatch

Installwatch is an extremely simple utility that keeps track of created and modified files during the installation of a new program. It's fast and easy to use. It doesn't require a "pre-install" phase because it monitors processes while they run.

Package Homepage: http://asic-linux.com.mx/~izto/checkinstall/installwatch.html

Dependencies

Non-Multilib

Compile the package:

sed -i "s:/usr/local:/usr:g" test-installwatch.c &&
make

Install the package:

make PREFIX=/usr install

Multilib

32Bit

Compile the package:

sed -i "s:/usr/local:/usr:g" test-installwatch.c &&
sed -i -e "s/^\tgcc/& ${BUILD32}/" \
    -e "s/^\tld/& ${LD_BUILD32}/" Makefile &&
make

Install the package:

make PREFIX=/usr install

N32

Compile the package:

sed -i -e "s:/usr/local:/usr:" \
    -e "s:/lib:&32:" test-installwatch.c &&
sed -i "/LIBDIR=/s:/lib:&32:" installwatch &&
sed -i -e "s/^\tgcc/& ${BUILDN32}/" Makefile &&
make

Install the package:

make PREFIX=/usr LIBDIR=/usr/lib32 install

64Bit

Compile the package:

sed -i -e "s:/usr/local:/usr:" \
    -e "s:/lib:&64:" test-installwatch.c &&
sed -i "/LIBDIR=/s:/lib:&64:" installwatch &&
sed -i -e "s/^\tgcc/& ${BUILD64}/" Makefile &&
make

Install the package:

make PREFIX=/usr LIBDIR=/usr/lib64 install

Contents

Installed Directories: None
Installed Programs: installwatch
Installed Libraries: installwatch.so

Short Descriptions

installwatch is a utility that keeps track of created and modified files during the installation of a new program.