ham/gqrx: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4d3d7b846e
commit
f685c66b74
|
@ -22,9 +22,11 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
# Modified by Mario Preksavec <mario@slackware.hr>
|
||||||
|
|
||||||
PRGNAM=gqrx
|
PRGNAM=gqrx
|
||||||
VERSION=${VERSION:-2.3.2}
|
VERSION=${VERSION:-2.3.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -77,13 +79,15 @@ qmake \
|
||||||
QMAKE_CFLAGS="$SLKCFLAGS" \
|
QMAKE_CFLAGS="$SLKCFLAGS" \
|
||||||
QMAKE_CXXFLAGS="$SLKCFLAGS" ..
|
QMAKE_CXXFLAGS="$SLKCFLAGS" ..
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
|
||||||
|
# make install leaks, do it manually
|
||||||
|
install -D -m 755 -p gqrx $PKG/usr/bin/gqrx
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
cd $TMP/$PRGNAM-$VERSION
|
|
||||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||||
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
|
mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
|
||||||
install -m644 gqrx.desktop $PKG/usr/share/applications/gqrx.desktop
|
install -m644 gqrx.desktop $PKG/usr/share/applications/gqrx.desktop
|
||||||
|
|
Loading…
Reference in New Issue