source: trunk/dports/archivers/rpm2cpio/Portfile @ 88422

Last change on this file since 88422 was 88422, checked in by ryandesign@…, 8 years ago

Set svn:keywords to Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 88422 2012-01-02 01:18:04Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    rpm2cpio
6version                 5.2.1
7set branch              [join [lrange [split ${version} .] 0 1] .]
8platforms               darwin freebsd linux
9categories              archivers
10maintainers             mac.com:n3npq afb
11description             Extract cpio archive from rpm package
12long_description        rpm2cpio converts the .rpm file specified as a \
13                        single argument to a cpio archive on standard out.
14conflicts               rpm rpm45 rpm50 rpm51 rpm52
15
16homepage                http://rpm5.org
17master_sites            ${homepage}/files/rpm/rpm-${branch}/
18distname                rpm-${version}
19dist_subdir             rpm52
20checksums               md5 71f825ede4a2ddc191132ae017c9a6e4 \
21                        sha1 77f2d1b24301ed3743d8bbc57e57710c0eff7bc8 \
22                        rmd160 a66017c6b8a7e0a1de6be945e3823a7ab2051c75
23
24depends_run             bin:gunzip:gzip \
25                        bin:bunzip2:bzip2 \
26                        bin:unlzma:xz \
27                        bin:unxz:xz
28
29use_configure           no
30supported_archs         noarch
31
32build {}
33
34destroot {
35        xinstall ${worksrcpath}/scripts/rpm2cpio \
36                 ${destroot}${prefix}/bin/
37}
38
39
40livecheck.type  regex
41# get the last modified tarball
42livecheck.url   ${master_sites}
43livecheck.regex rpm-(\[0-9\\.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.