From 9fda57fa4405056e9b655b48c49f9aa9b019af5f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 8 Sep 2013 17:39:15 +0200 Subject: [PATCH] libXfixes: convert to new package format Signed-off-by: Stephan Raue --- packages/x11/lib/libXfixes/build | 35 ------------------- packages/x11/lib/libXfixes/install | 26 -------------- .../x11/lib/libXfixes/{meta => package.mk} | 4 +-- 3 files changed, 2 insertions(+), 63 deletions(-) delete mode 100755 packages/x11/lib/libXfixes/build delete mode 100755 packages/x11/lib/libXfixes/install rename packages/x11/lib/libXfixes/{meta => package.mk} (95%) diff --git a/packages/x11/lib/libXfixes/build b/packages/x11/lib/libXfixes/build deleted file mode 100755 index bc16ebb259..0000000000 --- a/packages/x11/lib/libXfixes/build +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static \ - --enable-shared \ - -make -$MAKEINSTALL diff --git a/packages/x11/lib/libXfixes/install b/packages/x11/lib/libXfixes/install deleted file mode 100755 index 6e14fd12dc..0000000000 --- a/packages/x11/lib/libXfixes/install +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/lib - cp -P $PKG_BUILD/src/.libs/libXfixes.so* $INSTALL/usr/lib diff --git a/packages/x11/lib/libXfixes/meta b/packages/x11/lib/libXfixes/package.mk similarity index 95% rename from packages/x11/lib/libXfixes/meta rename to packages/x11/lib/libXfixes/package.mk index 6f1007e70c..47e96e74b5 100644 --- a/packages/x11/lib/libXfixes/meta +++ b/packages/x11/lib/libXfixes/package.mk @@ -26,11 +26,11 @@ PKG_LICENSE="OSS" PKG_SITE="http://www.X.org" PKG_URL="http://xorg.freedesktop.org/archive/individual/lib/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="libX11" -PKG_BUILD_DEPENDS="toolchain util-macros fixesproto libX11" +PKG_BUILD_DEPENDS_TARGET="toolchain util-macros fixesproto libX11" PKG_PRIORITY="optional" PKG_SECTION="x11/lib" PKG_SHORTDESC="libxfixes: X Fixes Library" PKG_LONGDESC="X Fixes Library" -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes"