From 7a4c407a21b581780894289eb09be925e0e74671 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 31 Jan 2011 20:23:18 +0100 Subject: [PATCH] new package: add package 'makedepend' Signed-off-by: Stephan Raue --- packages/x11/util/makedepend/build | 32 ++++++++++++++++++++++++++ packages/x11/util/makedepend/meta | 36 ++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100755 packages/x11/util/makedepend/build create mode 100644 packages/x11/util/makedepend/meta diff --git a/packages/x11/util/makedepend/build b/packages/x11/util/makedepend/build new file mode 100755 index 0000000000..4399555a39 --- /dev/null +++ b/packages/x11/util/makedepend/build @@ -0,0 +1,32 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program 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, or (at your option) +# any later version. +# +# This Program 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.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +setup_toolchain host + +cd $PKG_BUILD + +./configure --prefix=$ROOT/$TOOLCHAIN \ + +make +make install diff --git a/packages/x11/util/makedepend/meta b/packages/x11/util/makedepend/meta new file mode 100644 index 0000000000..f675fe72a8 --- /dev/null +++ b/packages/x11/util/makedepend/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program 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, or (at your option) +# any later version. +# +# This Program 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.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="makedepend" +PKG_VERSION="1.0.3" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="OSS" +PKG_SITE="http://www.X.org" +PKG_URL="http://xorg.freedesktop.org/archive/individual/util/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain xproto-host" +PKG_PRIORITY="optional" +PKG_SECTION="x11/util" +PKG_SHORTDESC="makedepend: Creates dependencies in makefiles" +PKG_LONGDESC="Creates dependencies in makefiles, a left-over of the historic imake build system." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"