Доброго времени!
http://puppylinux.com/development/package-management.htm
PET packages
As introduced above "Puppy's Extra Treats" are applications, files that end with '.pet'.
Note, they are actually tarballs, just like '.tar.gz' files, except have an md5sum appended on the end. The in-built md5sum is handy, as the file can be checked for integrity after being downloaded.
tar xvf pfilesearch-1.24.pet;
cd pfilesearch-1.24;
rm pet.specs;
su;
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
/sbin/makepkg -l y -c n /tmp/pfilesearch-1.24.txz;
installpkg /tmp/pfilesearch-1.24.txz;
exit;
cd ..
tar xvf pfind-4.20.pet;
cd pfind-4.20;
rm -vR pet.specs root;
su;
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
/sbin/makepkg -l y -c n /tmp/pfind-4.20.txz;
installpkg /tmp/pfind-4.20.txz;
exit;
cd ..
wget
http://slackbuilds.org/slackbuilds/13.1/de...kdialog.tar.gz;
wget
ftp://linux.pte.hu/pub/gtkdialog/gtkdialog-0.7.20.tar.gz;
tar xvf gtkdialog.tar.gz;
cp gtkdialog-0.7.20.tar.gz gtkdialog;
cd gtkdialog;
su;
sh gtkdialog.SlackBuild;
installpkg /tmp/gtkdialog-0.7.20-i486-3_SBo.tgz;
ln -s /usr/bin/gtkdialog /usr/bin/gtkdialog3;
exit;
cd ..
Пробуем запустить pfind.
Получаем сообщение следующего вида.
** ERROR **: gtkdialog: Error in line 38, near token '</default>': syntax error
which pfind;
/usr/local/bin/pfind
grep "default>" /usr/local/bin/pfind;
<default>$RADIOBUTTON_PATH_PUPPY</default>
<default>$RADIOBUTTON_PATH_MNT</default>
<default>$RADIOBUTTON_PATH_CURRENT</default>
<default>$RADIOBUTTON_PATH_ALL</default>
<default>$ACCEPT_ARROW</default>
Видимо надо экранировать переменные.
su;
sed -i -e 's|<default>|<default>\\"|' -e 's|</default>|\\"</default>|' /usr/local/bin/pfind
Насколько я понимаю, на данный момент Puppy Linux не основывается на Slackware.
http://puppylinux.com/download/release-4.00.htm
Puppy 3.01 was built from Slackware-12 binary packages, however to reduce the size 4.00 has been totally compiled from source, using the T2-project. Thus, less dependencies (smaller size) and later versions of packages than 3.01.