[82103] trunk/dports/archivers

afb at macports.org afb at macports.org
Mon Aug 8 01:16:05 PDT 2011


Revision: 82103
          http://trac.macports.org/changeset/82103
Author:   afb at macports.org
Date:     2011-08-08 01:16:05 -0700 (Mon, 08 Aug 2011)
Log Message:
-----------
rpm2cpio: add script version of rpm extractor

Added Paths:
-----------
    trunk/dports/archivers/rpm2cpio/
    trunk/dports/archivers/rpm2cpio/Portfile

Added: trunk/dports/archivers/rpm2cpio/Portfile
===================================================================
--- trunk/dports/archivers/rpm2cpio/Portfile	                        (rev 0)
+++ trunk/dports/archivers/rpm2cpio/Portfile	2011-08-08 08:16:05 UTC (rev 82103)
@@ -0,0 +1,43 @@
+# $Id: Portfile 81169 2011-07-26 09:08:51Z afb at macports.org $
+
+PortSystem 1.0
+
+name			rpm2cpio
+version			5.2.1
+platforms		darwin freebsd linux
+categories		archivers
+maintainers		mac.com:n3npq afb
+description		Extract cpio archive from rpm package
+long_description	rpm2cpio converts the .rpm file specified as a \
+			single argument to a cpio archive on standard out.
+conflicts		rpm rpm45 rpm50 rpm51 rpm52
+
+homepage		http://rpm5.org
+master_sites		${homepage}/files/rpm/rpm-5.2/
+distname		rpm-${version}
+dist_subdir		rpm52
+checksums		md5 71f825ede4a2ddc191132ae017c9a6e4 \
+			sha1 77f2d1b24301ed3743d8bbc57e57710c0eff7bc8 \
+			rmd160 a66017c6b8a7e0a1de6be945e3823a7ab2051c75
+worksrcdir		rpm-${version}
+
+depends_run		bin:gunzip:gzip \
+			bin:bunzip2:bzip2 \
+			bin:unlzma:xz \
+			bin:unxz:xz
+
+use_configure		no
+supported_archs		noarch
+
+build {}
+
+destroot {
+	xinstall ${workpath}/${worksrcdir}/scripts/rpm2cpio \
+	         ${destroot}${prefix}/bin/rpm2cpio
+}
+
+
+livecheck.type	regex
+# get the last modified tarball
+livecheck.url	${master_sites}
+livecheck.regex	rpm-(\[0-9\\.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110808/16ee2623/attachment.html>


More information about the macports-changes mailing list