diff --git a/tests/unzip/actions.py b/tests/unzip/actions.py new file mode 100644 index 00000000..f44537d1 --- /dev/null +++ b/tests/unzip/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +from pisi.actionsapi import autotools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools + +def setup(): + pisitools.dosed("unix/Makefile", "-O3", get.CFLAGS()) + pisitools.dosed("unix/Makefile", "CC=gcc LD=gcc", "CC=${CC:-gcc} LD=${CC:-gcc}") + pisitools.dosed("unix/Makefile", "-O ", get.CFLAGS()) + pass + +def build(): + autotools.make("-f unix/Makefile linux") + +def install(): + pisitools.insinto("/usr/bin/", "unzip") + pisitools.insinto("/usr/bin/", "funzip") + pisitools.insinto("/usr/bin/", "unzipsfx") + pisitools.insinto("/usr/bin/", "unix/zipgrep") + + pisitools.dosym("/usr/bin/unzip", "/usr/bin/zipinfo") + pisitools.doman("man/*.1") + pisitools.dodoc("BUGS", "History*", "README", "ToDo", "WHERE") diff --git a/tests/unzip/pspec.xml b/tests/unzip/pspec.xml new file mode 100644 index 00000000..8ff86f0f --- /dev/null +++ b/tests/unzip/pspec.xml @@ -0,0 +1,49 @@ + + + + + + + unzip + ftp://ftp.info-zip.org/pub/infozip/UnZip.html + + A. Murat Eren + meren@uludag.org.tr + + Info-ZIP + category + component + Unzipper for pkzip-compressed files + Unzipper for pkzip-compressed files + ftp://ftp.linux.org.tr/pub/mirrors/gentoo/distfiles/unzip550.tar.gz + + unzip-5.50-dotdot.patch + + + libc + sed + patch + + + + 2005-07-15 + 5.50 + 1 + + + + + + unzip + + + + + /usr/bin + /usr/share/doc + /usr/share/man + + + + + diff --git a/tests/zip/actions.py b/tests/zip/actions.py new file mode 100644 index 00000000..df0f5152 --- /dev/null +++ b/tests/zip/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +from pisi.actionsapi import autotools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools + +def setup(): + pisitools.dosed("unix/Makefile", "-O2", get.CFLAGS()) + +def build(): + autotools.make("-f unix/Makefile CC=%s CPP=%s generic" % (get.CC(), get.CXX())) + +def install(): + pisitools.dobin("zip") + pisitools.dobin("zipcloak") + pisitools.dobin("zipnote") + pisitools.dobin("zipsplit") + + pisitools.doman("man/*.1") + pisitools.dodoc("BUGS", "CHANGES", "MANUAL", "README", "TODO", "WHATSNEW", "WHERE") + diff --git a/tests/zip/pspec.xml b/tests/zip/pspec.xml new file mode 100644 index 00000000..e64035a5 --- /dev/null +++ b/tests/zip/pspec.xml @@ -0,0 +1,50 @@ + + + + + + + zip + ftp://ftp.freesoftware.com/pub/infozip/Zip.html + + PACKAGER + PACKAGER_EMAIL + + Info-ZIP + category + component + Info ZIP (encryption support) + Info ZIP (encryption support) + ftp://ftp.linux.org.tr/pub/mirrors/gentoo/distfiles/zip23.tar.gz + + zip-2.3-unix_configure-pic.patch + zip-CAN-2004-1010.patch + zcrypt.patch + + + unzip + patch + + + + 2005-07-15 + 2.3 + 1 + + + + + + zip + + unzip + + + /usr/bin + /usr/share/doc + /usr/share/man + + + + +