From c146ac9b91517ecb1fad437769dc35d08e4a3c47 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 26 Dec 2009 01:29:59 +0100 Subject: [PATCH] Add libmpdclient package. --- config/rootfiles/packages/libmpdclient | 42 +++++++++++++ lfs/libmpdclient | 84 ++++++++++++++++++++++++++ 2 files changed, 126 insertions(+) create mode 100644 config/rootfiles/packages/libmpdclient create mode 100644 lfs/libmpdclient diff --git a/config/rootfiles/packages/libmpdclient b/config/rootfiles/packages/libmpdclient new file mode 100644 index 0000000000..ac22426390 --- /dev/null +++ b/config/rootfiles/packages/libmpdclient @@ -0,0 +1,42 @@ +#usr/include/mpd +#usr/include/mpd/async.h +#usr/include/mpd/audio_format.h +#usr/include/mpd/capabilities.h +#usr/include/mpd/client.h +#usr/include/mpd/compiler.h +#usr/include/mpd/connection.h +#usr/include/mpd/database.h +#usr/include/mpd/directory.h +#usr/include/mpd/entity.h +#usr/include/mpd/error.h +#usr/include/mpd/idle.h +#usr/include/mpd/list.h +#usr/include/mpd/mixer.h +#usr/include/mpd/output.h +#usr/include/mpd/pair.h +#usr/include/mpd/parser.h +#usr/include/mpd/password.h +#usr/include/mpd/player.h +#usr/include/mpd/playlist.h +#usr/include/mpd/protocol.h +#usr/include/mpd/queue.h +#usr/include/mpd/recv.h +#usr/include/mpd/response.h +#usr/include/mpd/search.h +#usr/include/mpd/send.h +#usr/include/mpd/song.h +#usr/include/mpd/stats.h +#usr/include/mpd/status.h +#usr/include/mpd/sticker.h +#usr/include/mpd/tag.h +#usr/include/mpd/version.h +#usr/lib/libmpdclient.a +#usr/lib/libmpdclient.la +usr/lib/libmpdclient.so +usr/lib/libmpdclient.so.2 +usr/lib/libmpdclient.so.2.0.0 +#usr/lib/pkgconfig/libmpdclient.pc +#usr/share/doc/libmpdclient +#usr/share/doc/libmpdclient/COPYING +#usr/share/doc/libmpdclient/NEWS +#usr/share/doc/libmpdclient/README diff --git a/lfs/libmpdclient b/lfs/libmpdclient new file mode 100644 index 0000000000..1778beb22d --- /dev/null +++ b/lfs/libmpdclient @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# 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 3 of the License, 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 this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 2.1 + +THISAPP = libmpdclient-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = libmpdclient +PAK_VER = 1 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 67efa0c3d107c090ef277dfb3442d1e3 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) -- 2.39.2