# SliTaz package receipt. PACKAGE="p7zip-full" SOURCE="p7zip" VERSION="9.20.1" CATEGORY="utilities" SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)" MAINTAINER="milka@konstelacioj.info" TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2" WEB_SITE="http://p7zip.sourceforge.net/" WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src make all3 make DEST_HOME=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr # Fix pathname in 7z scripts sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7z \ $fs/usr/bin/7za $fs/usr/bin/7zr }