=========================================================================== This is pkgtool2 v2.2.3. It's a supplement to pkgtool with six options. # pkgtool2 Convert rpm or deb package to Slackware tgz package List contents of rpm/deb/tar.gz/tgz/tar.bz2/zip package Configure & make rules for packages (run/create/read/edit/url) Monitor make install and create record of install Restore backup for /var/log/packages/package_name Create tgz/rpm/deb package from contents of file or directory You can convert x.rpm or x.deb packages to Slackware x.tgz format. You can create a database in "/var/log/configure", with the configure and make rules you want for a particular source package. Choose "Configure" then "Create" from the menu, to create the configure rules file. The configure rules file will contain configure, make, and make install rules. For example, these are the configure and make rules I want for the 'fetchmail' package. # Configure and make rules for 'fetchmail'. ./configure --prefix=/usr --sysconfdir=/etc --disable-nls \ --enable-SDPS --enable-RPA --enable-NTLM --with-ssl=/usr/lib make CFLAGS="-Os -march=i386 -Wall" LDFLAGS="-s" make install # http://www.foo.com/home_page_for_package_source # ftp://ftp.foo.com/pub/ftp_directory_for_package_source Put a '\' at the end of each configure and make line, if there's more than one, except the last. You can put some notes after '#' if you want. Then when you want to configure, make, or make install a package, start 'pkgtool2' and choose 'Configure', then 'Run' from the menu. You can monitor a command like "make install" and create a record. The record will be put in /var/log/packages/package_name, and can be removed like any installed package. # removepkg package_name Usually when you compile a package you do this, more or less. # ./configure --prefix=/usr ; make ; make install Instead of "make install" do 'pkgtool2', and choose monitor from the menu. # ./configure --prefix=/usr ; make ; pkgtool2 You'll have the option of creating a Slackware, Debian, or RPM package of the install, after the install or later using /var/log/ packages/package_name as the guide. The Monitor option isn't needed if you create a configure rules file, and use the Configure option to Run it. NOTE: Before you do 'pkgtool2' you can do a test run 'make install -n', to see if there are any problems. ATTENTION! If you have a "static" /bin/ln, move it to /bin/sln and put a non static version in its place. # ldd /bin/ln statically linked or not dynamic The source for the installwatch.so program v0.6.3 can be found here. http://asic-linux.com.mx/~izto/checkinstall The license for pkgtool2 is GNU GPL. 8/7/2005 Kent Robotti ===========================================================================