#!/bin/sh app=libmpeg2 version=0.5.1 build=1sml makebuilddirs rm -rf $app-$version tar xf $CWD/$app-$version.tar.?z* cd $app-$version fixsrcdirpermissions #patch -p1 < $CWD/arm-private-symbols.patch #patch -p1 < $CWD/arm-textrel.patch unset CFLAGS unset CXXFLAGS #autoreconf -vif ./configure \ --prefix="" \ --enable-shared \ --disable-static \ --build=arm64-musl-linux #if [ "$ARCH" = "aarch64" ] ; then # unset CFLAGS CXXFLAGS #fi #make OPT_CFLAGS="$CFLAGS" MPEG2DEC_CFLAGS="$CFLAGS" LIBMPEG2_CFLAGS="" make make install DESTDIR=$pkg makefinalpkg # HOW TO EDIT THIS FILE: libmpeg2: libmpeg2 (mpeg-video decoding library) libmpeg2: libmpeg2: libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video libmpeg2: streams. It is released under the terms of the GPL license. libmpeg2: libmpeg2: Homepage: http://libmpeg2.sourceforge.net libmpeg2: libmpeg2: libmpeg2: libmpeg2: libmpeg2: homepage="" download="" desc=""