diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/cdrkit/PKGBUILD | 42 | ||||
-rw-r--r-- | extra/gcin/gtk3-crash.patch | 12 | ||||
-rw-r--r-- | extra/lame/03_lame-ffmpeg.diff | 72 | ||||
-rw-r--r-- | extra/lame/PKGBUILD | 26 | ||||
-rw-r--r-- | extra/lame/shared-frontend.patch | 23 | ||||
-rw-r--r-- | extra/mpd/mpd-0.16.3_ffmpeg_sigsegv.patch | 21 | ||||
-rw-r--r-- | extra/rcs/path.patch | 67 | ||||
-rw-r--r-- | extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch | 43 | ||||
-rw-r--r-- | extra/sdl/PKGBUILD | 37 | ||||
-rw-r--r-- | extra/sdl/sdl-1.2.14-fix-disappearing-cursor.patch | 17 | ||||
-rw-r--r-- | extra/sdl/sdl-1.2.14-fix-mouse-clicking.patch | 23 | ||||
-rw-r--r-- | extra/sdl/sdl-1.2.14-joystick-crash.diff | 14 | ||||
-rw-r--r-- | extra/unzip/PKGBUILD | 40 |
13 files changed, 0 insertions, 437 deletions
diff --git a/extra/cdrkit/PKGBUILD b/extra/cdrkit/PKGBUILD deleted file mode 100644 index b4814cf6e..000000000 --- a/extra/cdrkit/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 103376 2010-12-18 15:46:10Z andyrtr $ -# Maintainer: Andrea Scarpino <andrea@archlinux.org> -# Contributor: Alexander Fehr <pizzapunk gmail com> - -pkgname=cdrkit -pkgver=1.1.11 -pkgrel=1 -pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction" -arch=('i686' 'x86_64') -url="http://cdrkit.org/" -license=('GPL2') -depends=('file' 'bzip2' 'perl') -makedepends=('cmake') -provides=('cdrtools') -conflicts=('cdrtools') -source=(http://cdrkit.org/releases/$pkgname-$pkgver.tar.gz) -md5sums=('efe08e2f3ca478486037b053acd512e9') - -build() { - cd "$srcdir/$pkgname-$pkgver" - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX="$pkgdir/usr" install - - # Make symlinks for cdrtools compatibility - cd "$pkgdir/usr/bin" - ln -s wodim cdrecord - ln -s readom readcd - ln -s genisoimage mkisofs - ln -s genisoimage mkhybrid - ln -s icedax cdda2wav - - cd "$pkgdir/usr/share/man/man1" - ln -s wodim.1 cdrecord.1 - ln -s readom.1 readcd.1 - ln -s genisoimage.1 mkisofs.1 - ln -s genisoimage.1 mkhybrid.1 - ln -s icedax.1 cdda2wav.1 -} diff --git a/extra/gcin/gtk3-crash.patch b/extra/gcin/gtk3-crash.patch deleted file mode 100644 index 17cfa6c2d..000000000 --- a/extra/gcin/gtk3-crash.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur old/gtk3-im/gtkimcontextgcin.c new/gtk3-im/gtkimcontextgcin.c ---- old/gtk3-im/gtkimcontextgcin.c 2011-08-31 09:14:58.000000000 -0700 -+++ new/gtk3-im/gtkimcontextgcin.c 2011-09-04 13:29:58.838065420 -0700 -@@ -127,6 +127,8 @@ - { - GdkWindow *client_window = context_xim->client_window; - GdkScreen *screen = gdk_window_get_screen (client_window); -+ if (screen == NULL) -+ return; - GdkDisplay *display = gdk_screen_get_display (screen); - if (!context_xim->gcin_ch) { - if (!(context_xim->gcin_ch = gcin_im_client_open(GDK_DISPLAY_XDISPLAY(gdk_display_get_default())))) diff --git a/extra/lame/03_lame-ffmpeg.diff b/extra/lame/03_lame-ffmpeg.diff deleted file mode 100644 index a80393517..000000000 --- a/extra/lame/03_lame-ffmpeg.diff +++ /dev/null @@ -1,72 +0,0 @@ ---- lame-3.98.2.orig/libmp3lame/lame.c 2009-07-07 10:52:01.000000000 +0200 -+++ lame-3.98.2/libmp3lame/lame.c 2009-07-07 10:52:03.000000000 +0200 -@@ -1602,6 +1602,13 @@ - /* update mfbuf[] counters */ - gfc->mf_size += n_out; - assert(gfc->mf_size <= MFSIZE); -+ -+ /* lame_encode_flush may have set gfc->mf_sample_to_encode to 0 -+ * so we have to reinitialize it here when that happened. -+ */ -+ if (gfc->mf_samples_to_encode < 1) { -+ gfc->mf_samples_to_encode = ENCDELAY + POSTDELAY; -+ } - gfc->mf_samples_to_encode += n_out; - - -@@ -1931,6 +1938,10 @@ - int frames_left; - int samples_to_encode = gfc->mf_samples_to_encode; - -+ /* Was flush already called? */ -+ if (gfc->mf_samples_to_encode < 1) { -+ return 0; -+ } - memset(buffer, 0, sizeof(buffer)); - mp3count = 0; - -@@ -1942,7 +1953,9 @@ - end_padding += pad_out_samples; - - frames_left = (samples_to_encode + pad_out_samples) / gfp->framesize; -- while (frames_left > 0) { -+ -+ /* send in a frame of 0 padding until all internal sample buffers are flushed */ -+ while (frames_left > 0 && imp3 >= 0) { - int frame_num = gfp->frameNum; - - mp3buffer_size_remaining = mp3buffer_size - mp3count; -@@ -1951,22 +1964,23 @@ - if (mp3buffer_size == 0) - mp3buffer_size_remaining = 0; - -- /* send in a frame of 0 padding until all internal sample buffers -- * are flushed -- */ - imp3 = lame_encode_buffer(gfp, buffer[0], buffer[1], 32, - mp3buffer, mp3buffer_size_remaining); - -- if (frame_num != gfp->frameNum) { -- --frames_left; -- } -- if (imp3 < 0) { -- /* some type of fatal error */ -- return imp3; -- } - mp3buffer += imp3; - mp3count += imp3; -+ frames_left -= (frame_num != gfp->frameNum) ? 1 : 0; - } -+ /* Set gfc->mf_samples_to_encode to 0, so we may detect -+ * and break loops calling it more than once in a row. -+ */ -+ gfc->mf_samples_to_encode = 0; -+ -+ if (imp3 < 0) { -+ /* some type of fatal error */ -+ return imp3; -+ } -+ - mp3buffer_size_remaining = mp3buffer_size - mp3count; - /* if user specifed buffer size = 0, dont check size */ - if (mp3buffer_size == 0) diff --git a/extra/lame/PKGBUILD b/extra/lame/PKGBUILD deleted file mode 100644 index b66bb7f76..000000000 --- a/extra/lame/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# $Id: PKGBUILD 80636 2010-05-20 16:06:46Z ibiru $ -# Maintainer: Ionut Biru <ibiru@archlinux.org> -# Contributor: Hugo Doria <hugo@archlinux.org> - -pkgname=lame -pkgver=3.98.4 -pkgrel=1 -pkgdesc="An MP3 encoder and graphical frame analyzer" -arch=('i686' 'x86_64') -url="http://lame.sourceforge.net/" -depends=('ncurses') -makedepends=('nasm') -license=('LGPL') -options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('8e9866ad6b570c6c95c8cba48060473f') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure --prefix=/usr \ - --enable-nasm \ - --enable-shared - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 -} diff --git a/extra/lame/shared-frontend.patch b/extra/lame/shared-frontend.patch deleted file mode 100644 index e5ae0a95a..000000000 --- a/extra/lame/shared-frontend.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- lame-3.96.1.orig/frontend/Makefile.am 2004-01-21 01:41:36.000000000 -0800 -+++ lame-3.96.1/frontend/Makefile.am 2004-10-03 16:39:12.415901779 -0700 -@@ -50,7 +50,7 @@ - endif - - CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@ --LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ -static -+LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ - - INCLUDES = -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include -I$(top_builddir) - -diff -Naur lame-3.96.1.orig/frontend/Makefile.in lame-3.96.1/frontend/Makefile.in ---- lame-3.96.1.orig/frontend/Makefile.in 2004-01-21 05:50:29.000000000 -0800 -+++ lame-3.96.1/frontend/Makefile.in 2004-10-03 16:39:19.711701553 -0700 -@@ -91,7 +91,7 @@ - $(top_builddir)/libmp3lame/libmp3lame.la \ - @FRONTEND_LDADD@ - --LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ -static -+LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ - LIBOBJS = @LIBOBJS@ - LIBS = @LIBS@ - LIBTOOL = @LIBTOOL@ diff --git a/extra/mpd/mpd-0.16.3_ffmpeg_sigsegv.patch b/extra/mpd/mpd-0.16.3_ffmpeg_sigsegv.patch deleted file mode 100644 index a945a0a6a..000000000 --- a/extra/mpd/mpd-0.16.3_ffmpeg_sigsegv.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur mpd-0.16.3.orig/src/decoder/ffmpeg_decoder_plugin.c mpd-0.16.3/src/decoder/ffmpeg_decoder_plugin.c ---- mpd-0.16.3.orig/src/decoder/ffmpeg_decoder_plugin.c 2011-06-04 17:36:33.000000000 +0300 -+++ mpd-0.16.3/src/decoder/ffmpeg_decoder_plugin.c 2011-06-24 18:18:51.840218251 +0300 -@@ -321,7 +321,7 @@ - } - - //ffmpeg works with ours "fileops" helper -- AVFormatContext *format_context; -+ AVFormatContext *format_context = NULL; - if (av_open_input_stream(&format_context, stream->io, input->uri, - input_format, NULL) != 0) { - g_warning("Open failed\n"); -@@ -470,7 +470,7 @@ - if (stream == NULL) - return NULL; - -- AVFormatContext *f; -+ AVFormatContext *f = NULL; - if (av_open_input_stream(&f, stream->io, is->uri, - input_format, NULL) != 0) { - mpd_ffmpeg_stream_close(stream); diff --git a/extra/rcs/path.patch b/extra/rcs/path.patch deleted file mode 100644 index 0f062b357..000000000 --- a/extra/rcs/path.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff -Naur rcs-5.7-orig/src/conf.heg rcs-5.7/src/conf.heg ---- rcs-5.7-orig/src/conf.heg 1995-06-02 11:19:00.000000000 -0700 -+++ rcs-5.7/src/conf.heg 2004-11-29 12:41:37.000000000 -0800 -@@ -210,10 +210,10 @@ - /* Do struct stat s and t describe the same file? Answer d if unknown. */ - #define same_file(s,t,d) ((s).st_ino==(t).st_ino && (s).st_dev==(t).st_dev) - #define has_utimbuf 1 /* Does struct utimbuf work? */ --#define CO "/usr/local/bin/co" /* name of 'co' program */ -+#define CO "/usr/bin/co" /* name of 'co' program */ - #define COMPAT2 0 /* Are version 2 files supported? */ --#define DIFF "/usr/local/bin/diff" /* name of 'diff' program */ --#define DIFF3 "/usr/local/bin/diff3" /* name of 'diff3' program */ -+#define DIFF "/usr/bin/diff" /* name of 'diff' program */ -+#define DIFF3 "/usr/bin/diff3" /* name of 'diff3' program */ - #define DIFF3_BIN 1 /* Is diff3 user-visible (not the /usr/lib auxiliary)? */ - #define DIFFFLAGS "-an" /* Make diff output suitable for RCS. */ - #define DIFF_L 1 /* Does diff -L work? */ -@@ -221,7 +221,7 @@ - #define DIFF_FAILURE 1 /* DIFF status if differences are found */ - #define DIFF_TROUBLE 2 /* DIFF status if trouble */ - #define ED "/bin/ed" /* name of 'ed' program (used only if !DIFF3_BIN) */ --#define MERGE "/usr/local/bin/merge" /* name of 'merge' program */ -+#define MERGE "/usr/bin/merge" /* name of 'merge' program */ - #define TMPDIR "/tmp" /* default directory for temporary files */ - #define SLASH '/' /* principal filename separator */ - #define SLASHes '/' /* `case SLASHes:' labels all filename separators */ -diff -Naur rcs-5.7-orig/src/conf.sh rcs-5.7/src/conf.sh ---- rcs-5.7-orig/src/conf.sh 1995-06-15 23:19:24.000000000 -0700 -+++ rcs-5.7/src/conf.sh 2004-11-29 12:42:28.000000000 -0800 -@@ -32,7 +32,7 @@ - # and can be inspected for clues otherwise. - - # The Makefile overrides the following defaults. --: ${RCSPREFIX=/usr/local/bin/} -+: ${RCSPREFIX=/usr/bin/} - : ${ALL_CFLAGS=-Dhas_conf_h} - : ${CC=cc} - : ${COMPAT2=0} -@@ -42,8 +42,8 @@ - : ${DIFFFLAGS=-an} - : ${DIFF_L=1} - : ${DIFF_SUCCESS=0} ${DIFF_FAILURE=1} ${DIFF_TROUBLE=2} --: ${ED=/bin/ed} --: ${SENDMAIL='"/usr/lib/sendmail"'} -+: ${ED=/usr/bin/ed} -+: ${SENDMAIL='"/usr/sbin/sendmail"'} - # : ${LDFLAGS=} ${LIBS=} tickles old shell bug - - C="$CC $ALL_CFLAGS" -@@ -73,17 +73,6 @@ - ech='echo -n' dots='... ' - esac - --$ech >&3 "$0: testing permissions $dots" --rm -f a.d && --date >a.d && --chmod 0 a.d && --{ test -w a.d || cp /dev/null a.d 2>/dev/null; } && { -- echo >&3 "$n$0: This command should not be run with superuser permissions." -- exit 1 --} --echo >&3 OK --rm -f a.d || exit -- - $ech >&3 "$0: testing compiler for plausibility $dots" - echo 'main() { return 0; }' >a.c - rm -f a.exe a.out || exit diff --git a/extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch b/extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch deleted file mode 100644 index fe5a807ee..000000000 --- a/extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch +++ /dev/null @@ -1,43 +0,0 @@ -From b43c51beeb0569a38900e1e5a78606711f987742 Mon Sep 17 00:00:00 2001 -From: Paul Khuong <pvk@pvk.ca> -Date: Wed, 3 Aug 2011 10:20:41 -0400 -Subject: [PATCH] Fix version string parsing for Linux 3.0 - - Stop assuming the presence of minor and patch version numbers; missing - values are defaulted to 0 (e.g. 3.0.0). - - Reported by a few people on IRC. ---- - src/runtime/linux-os.c | 14 ++++++++++---- - 1 files changed, 10 insertions(+), 4 deletions(-) - -diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c -index db72fa6..e262f41 100644 ---- a/src/runtime/linux-os.c -+++ b/src/runtime/linux-os.c -@@ -198,12 +198,18 @@ os_init(char *argv[], char *envp[]) - int patch_version; - char *p; - uname(&name); -+ - p=name.release; - major_version = atoi(p); -- p=strchr(p,'.')+1; -- minor_version = atoi(p); -- p=strchr(p,'.')+1; -- patch_version = atoi(p); -+ minor_version = patch_version = 0; -+ p=strchr(p,'.'); -+ if (p != NULL) { -+ minor_version = atoi(++p); -+ p=strchr(p,'.'); -+ if (p != NULL) -+ patch_version = atoi(++p); -+ } -+ - if (major_version<2) { - lose("linux kernel version too old: major version=%d (can't run in version < 2.0.0)\n", - major_version); --- -1.7.6 - diff --git a/extra/sdl/PKGBUILD b/extra/sdl/PKGBUILD deleted file mode 100644 index e238ef068..000000000 --- a/extra/sdl/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# $Id: PKGBUILD 135310 2011-08-12 14:45:48Z ibiru $ -# Maintainer: Allan McRae <allan@archlinux.org> -# Contributor: dorphell <dorphell@archlinux.org> - -pkgname=sdl -pkgver=1.2.14 -pkgrel=7 -pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard" -arch=('i686' 'x86_64') -url="http://www.libsdl.org" -license=('LGPL') -depends=('glibc' 'libxext' 'libxrender' 'libx11') -makedepends=('alsa-lib' 'mesa' 'libpulse') -options=('!libtool') -source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz - sdl-1.2.14-joystick-crash.diff - sdl-1.2.14-fix-mouse-clicking.patch - sdl-1.2.14-fix-disappearing-cursor.patch) -md5sums=('e52086d1b508fa0b76c52ee30b55bec4' - '9d8890b3817736a5d365f7497f096634' - '04d8c179f125e04bcd4c9d60e013c2d7' - 'a6cf3e71b653aa97d0d8ae6c0a789807') - -build() { - cd ${srcdir}/SDL-${pkgver} - patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff - patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch - patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch - ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \ - --with-x --disable-rpath - make -} - -package() { - cd ${srcdir}/SDL-${pkgver} - make DESTDIR=${pkgdir} install -} diff --git a/extra/sdl/sdl-1.2.14-fix-disappearing-cursor.patch b/extra/sdl/sdl-1.2.14-fix-disappearing-cursor.patch deleted file mode 100644 index fcd3c314d..000000000 --- a/extra/sdl/sdl-1.2.14-fix-disappearing-cursor.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: SDL-1.2.14/src/video/x11/SDL_x11events.c -=================================================================== ---- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400 -+++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400 -@@ -444,8 +444,10 @@ - if ( xevent.xcrossing.mode == NotifyUngrab ) - printf("Mode: NotifyUngrab\n"); - #endif -- if ( xevent.xcrossing.detail != NotifyInferior ) { -- if ( this->input_grab == SDL_GRAB_OFF ) { -+ if ( (xevent.xcrossing.mode != NotifyGrab) && -+ (xevent.xcrossing.mode != NotifyUngrab) && -+ (xevent.xcrossing.detail != NotifyInferior) ) { -+ if ( this->input_grab == SDL_GRAB_OFF ) { - posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS); - } else { - posted = SDL_PrivateMouseMotion(0, 0, diff --git a/extra/sdl/sdl-1.2.14-fix-mouse-clicking.patch b/extra/sdl/sdl-1.2.14-fix-mouse-clicking.patch deleted file mode 100644 index 7d3e5acfc..000000000 --- a/extra/sdl/sdl-1.2.14-fix-mouse-clicking.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- SDL-1.2.14/src/video/x11/SDL_x11events.c.orig 2010-04-08 11:57:05.003169834 -0700 -+++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-08 12:33:51.690926340 -0700 -@@ -423,12 +423,15 @@ - if ( xevent.xcrossing.mode == NotifyUngrab ) - printf("Mode: NotifyUngrab\n"); - #endif -- if ( this->input_grab == SDL_GRAB_OFF ) { -- posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS); -+ if ( (xevent.xcrossing.mode != NotifyGrab) && -+ (xevent.xcrossing.mode != NotifyUngrab) ) { -+ if ( this->input_grab == SDL_GRAB_OFF ) { -+ posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS); -+ } -+ posted = SDL_PrivateMouseMotion(0, 0, -+ xevent.xcrossing.x, -+ xevent.xcrossing.y); - } -- posted = SDL_PrivateMouseMotion(0, 0, -- xevent.xcrossing.x, -- xevent.xcrossing.y); - } - break; - diff --git a/extra/sdl/sdl-1.2.14-joystick-crash.diff b/extra/sdl/sdl-1.2.14-joystick-crash.diff deleted file mode 100644 index 949e18b96..000000000 --- a/extra/sdl/sdl-1.2.14-joystick-crash.diff +++ /dev/null @@ -1,14 +0,0 @@ -Description: Fix crash with joystick detection. -Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c -=================================================================== ---- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:37:36.000000000 -0500 -+++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:38:27.000000000 -0500 -@@ -700,7 +700,7 @@ - continue; - } - if ( test_bit(i, absbit) ) { -- int values[5]; -+ int values[6]; - - if ( ioctl(fd, EVIOCGABS(i), values) < 0 ) - continue; diff --git a/extra/unzip/PKGBUILD b/extra/unzip/PKGBUILD deleted file mode 100644 index 77608dd01..000000000 --- a/extra/unzip/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $Id: PKGBUILD 70615 2010-02-27 15:46:11Z thayer $ -# Maintainer: Thayer Williams <thayer@archlinux.org> -# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> -# Contributor: Robson Peixoto - -pkgname=unzip -pkgver=6.0 -pkgrel=5 -pkgdesc="Unpacks .zip archives such as those made by PKZIP" -arch=('i686' 'x86_64') -url="http://www.info-zip.org/" -license=('custom') -depends=('bzip2' 'bash') -source=('http://downloads.sourceforge.net/infozip/unzip60.tar.gz') -md5sums=('62b490407489521db863b523a7f86375') - -build() { - cd ${srcdir}/${pkgname}${pkgver/./} - - # set CFLAGS -- from Debian - export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \ - -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \ - -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD \ - -DUSE_BZIP2 -DNATIVE" - - # make -- from Debian - make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr LF2="" \ - D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips || return 1 - - # install -- from Debian - make -f unix/Makefile prefix=${pkgdir}/usr INSTALL_PROGRAM="install" install || return 1 - - # install the license file - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/unzip/LICENSE || return 1 - - # fix manpage location - mkdir -p ${pkgdir}/usr/share || return 1 - mv ${pkgdir}/usr/man ${pkgdir}/usr/share/ || return 1 -} - |