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

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

rpm2cpio: add license

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