mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
1 parent
09766a0fab
commit
2dd97d1562
1 file changed
+42
@@ -0,0 +1,42 @@
|
||||
require 'formula'
|
||||
|
||||
class Dpkg < Formula
|
||||
url 'http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.15.8.11.tar.bz2'
|
||||
homepage 'http://en.wikipedia.org/wiki/Dpkg'
|
||||
md5 '58a1a3ab86ab3220e469cb75f6fb6d7c'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
|
||||
#Fixes the PERL_LIBDIR
|
||||
def patches; DATA; end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-compiler-warnings",
|
||||
"--disable-linker-optimisations",
|
||||
"--disable-compiler-optimisations",
|
||||
"--without-start-stop-daemon"
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/configure b/configure
|
||||
index a4e8516..de7f226 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -8180,9 +8180,9 @@ else
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
-PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp};
|
||||
- $r =~ s/$Config{vendorprefixexp}/\$(prefix)/;
|
||||
- print $r')
|
||||
+PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{sitelib};
|
||||
+ $r =~ s/$Config{sitelib}/\$(prefix)/;
|
||||
+ print $r')
|
||||
|
||||
for ac_prog in pod2man
|
||||
do
|
||||
Reference in new issue
Block a user