diff options
author | Tilman Sauerbeck <tilman@crux.nu> | 2008-06-24 19:39:50 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@crux.nu> | 2008-06-27 19:29:46 +0200 |
commit | 0ae58112f23dcecd118635ce8af9ff5f44091458 (patch) | |
tree | 134c7918a1f0abc1a9669c79c74a412f798fbfa8 /nspr/Pkgfile | |
parent | fc576d094e761ec6541b2d9a4a25954ed10341dd (diff) | |
download | opt-0ae58112f23dcecd118635ce8af9ff5f44091458.tar.gz opt-0ae58112f23dcecd118635ce8af9ff5f44091458.tar.xz |
nspr: initial release.
Diffstat (limited to 'nspr/Pkgfile')
-rw-r--r-- | nspr/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nspr/Pkgfile b/nspr/Pkgfile new file mode 100644 index 000000000..cde4c6655 --- /dev/null +++ b/nspr/Pkgfile @@ -0,0 +1,25 @@ +# Description: Netscape Portable Runtime library +# URL: http://www.mozilla.org/projects/nspr/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu + +name=nspr +version=4.7.1 +release=1 +source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.7.1/src/$name-$version.tar.gz) + +build() { + cd $name-$version + + ./mozilla/nsprpub/configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --includedir=/usr/include/nspr \ + --enable-optimize="$CFLAGS" \ + --disable-debug + + make + make DESTDIR=$PKG install + + rm $PKG/usr/bin/{compile-et.pl,prerr.properties} + rm -r $PKG/usr/include/nspr/md +} |