summaryrefslogtreecommitdiff
path: root/extra/lzo
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lzo')
-rw-r--r--extra/lzo/PKGBUILD36
-rw-r--r--extra/lzo/nasm-gcc3.patch40
2 files changed, 0 insertions, 76 deletions
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD
deleted file mode 100644
index 115baed03..000000000
--- a/extra/lzo/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 197768 2013-10-29 20:44:43Z eric $
-# Maintainer:
-# Contributor: Low Kian Seong <fastmail_low@speedymail.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgname=lzo
-pkgver=1.08
-pkgrel=8
-pkgdesc='A portable lossless data compression library written in ANSI C'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://www.oberhumer.com/opensource/lzo'
-depends=('glibc')
-makedepends=('nasm')
-source=("http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${pkgname}-${pkgver}.tar.gz"
- 'nasm-gcc3.patch')
-md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6'
- '43fb13762383b572d22152f8815ea4a5')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p0 -i "${srcdir}"/nasm-gcc3.patch
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- autoconf
- ./configure --prefix=/usr --enable-shared
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/lzo/nasm-gcc3.patch b/extra/lzo/nasm-gcc3.patch
deleted file mode 100644
index 19b351b3d..000000000
--- a/extra/lzo/nasm-gcc3.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- configure.in 2002-07-13 01:31:52.000000000 +0000
-+++ configure.in.patched 2003-09-10 14:37:31.000000000 +0000
-@@ -319,13 +319,13 @@
- [AC_TRY_RUN([#include <stdio.h>
- int test() {
- #if defined(__GNUC__)
-- __asm__ __volatile__ ("
-- .align 4
--mfx_a1:
-- .byte 0
-- .align 4
--mfx_a2:
-- ");
-+ __asm__ __volatile__ (
-+ ".align 4\n"
-+"mfx_a1:\n"
-+ ".byte 0\n"
-+ ".align 4\n"
-+"mfx_a2:\n"
-+ );
- #endif
- return 0;
- }
-@@ -363,11 +363,11 @@
- #endif
- int mfx_asm_func();
- static void test() {
-- __asm__ __volatile__("
-- .globl mfx_asm_func
-- mfx_asm_func:
-- .byte 0
-- ");
-+ __asm__ __volatile__(
-+ ".globl mfx_asm_func\n"
-+ "mfx_asm_func:\n"
-+ ".byte 0\n"
-+ );
- }
- ], [
- return mfx_asm_func();