diff --git a/packages/devel/arm-mem/package.mk b/packages/devel/arm-mem/package.mk index 59360647f0..4f84f26fcb 100644 --- a/packages/devel/arm-mem/package.mk +++ b/packages/devel/arm-mem/package.mk @@ -22,7 +22,7 @@ PKG_REV="1" PKG_ARCH="arm" PKG_LICENSE="GPL" PKG_SITE="https://github.com/bavison/arm-mem" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_URL="https://github.com/bavison/arm-mem/archive/$PKG_VERSION.tar.gz" PKG_DEPENDS_TARGET="toolchain" PKG_DEPENDS_INIT="toolchain" PKG_PRIORITY="optional" diff --git a/tools/mkpkg/mkpkg_arm-mem b/tools/mkpkg/mkpkg_arm-mem deleted file mode 100755 index 1863783214..0000000000 --- a/tools/mkpkg/mkpkg_arm-mem +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -echo "getting sources..." - if [ ! -d arm-mem.git ]; then - git clone git://github.com/bavison/arm-mem.git -b master arm-mem.git - fi - - cd arm-mem.git - git pull - GIT_REV=`git log -n1 --format=%h` - cd .. - -echo "copying sources..." - rm -rf arm-mem-$GIT_REV - cp -R arm-mem.git arm-mem-$GIT_REV - -echo "cleaning sources..." - rm -rf arm-mem-$GIT_REV/.git - -echo "packing sources..." - tar cvJf arm-mem-$GIT_REV.tar.xz arm-mem-$GIT_REV - -echo "remove temporary sourcedir..." - rm -rf arm-mem-$GIT_REV