source: trunk/dports/sysutils/rpm/Portfile @ 2137

Last change on this file since 2137 was 2137, checked in by michaelm, 17 years ago

rpm port care of shantonu

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1PortSystem 1.0
2name                    rpm
3version                 4.0.4
4platforms               darwin
5categories              sysutils archivers
6maintainers             ssen@opendarwin.org
7description             RedHat Package Manager
8
9master_sites            ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/
10checksums               md5 b0c3093d2f0d850760e59ac1db9bf152
11
12depends_lib             lib:libbz2.1.0:bzip2 lib:libiconv.2:libiconv
13
14configure.args          --disable-nls --with-included-gettext --with-glob --with-libiconv-prefix=${prefix}
15
16variant darwin {
17        patchfiles-append \
18                patch-db3-configure.diff        patch-rpmheader.diff \
19                patch-dump.diff                 patch-rpmioc.diff \
20                patch-dumpdb.diff               patch-rpmioh.diff \
21                patch-lib-signature.diff        patch-rpmlead.diff \
22                patch-macros-in.diff            patch-rpmqv.diff \
23                patch-rpm2cpio.diff             patch-rpmsignature.diff \
24                patch-rpmarchive.diff           patch-systemh.diff \
25                patch-rpmrc.diff
26
27        configure.args-append --disable-optimized --disable-aio \
28                --without-python
29
30        configure.env   LDFLAGS="-L${prefix}/lib -L${workpath}/librt" CFLAGS="-I${prefix}/include -no-cpp-precomp" CC="gcc -flat_namespace"
31
32        pre-build {
33                system "mkdir -p ${workpath}/librt"
34                system "ln -sf /usr/lib/libSystem.B.dylib \
35                                ${workpath}/librt/librt.dylib"
36        }
37
38}
39
Note: See TracBrowser for help on using the repository browser.