- id3tag.pc pkgconfig file required for mpd-0.22.6 to find libid3tag library files - Update of rootfile - update lfs to install id3tag.pc file to /usr/lib/pkgconfig directory
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/libid3tag/id3tag.pc | 8 ++++++++ config/rootfiles/packages/libid3tag | 3 ++- lfs/libid3tag | 5 ++++- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 config/libid3tag/id3tag.pc
diff --git a/config/libid3tag/id3tag.pc b/config/libid3tag/id3tag.pc new file mode 100644 index 000000000..e03cc771e --- /dev/null +++ b/config/libid3tag/id3tag.pc @@ -0,0 +1,8 @@ +prefix=/usr +libdir=${prefix}/lib + +Name: ID3TAG +Description: libid3tag - ID3 tag manipulation library +Version: 0.15.1b +Libs: -L${libdir} -lid3tag -lz +Cflags: diff --git a/config/rootfiles/packages/libid3tag b/config/rootfiles/packages/libid3tag index 8963ab803..0899f8702 100644 --- a/config/rootfiles/packages/libid3tag +++ b/config/rootfiles/packages/libid3tag @@ -1,6 +1,7 @@ #usr/include/id3tag.h #usr/lib/libid3tag.a #usr/lib/libid3tag.la -usr/lib/libid3tag.so +#usr/lib/libid3tag.so usr/lib/libid3tag.so.0 usr/lib/libid3tag.so.0.3.0 +usr/lib/pkgconfig/id3tag.pc diff --git a/lfs/libid3tag b/lfs/libid3tag index 8c61c5157..9005ca94c 100644 --- a/lfs/libid3tag +++ b/lfs/libid3tag @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libid3tag -PAK_VER = 1 +PAK_VER = 2
DEPS =
@@ -78,6 +78,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) + # install id3tag pkgconfig file + install -v -m 644 ${DIR_SRC}/config/libid3tag/id3tag.pc \ + /usr/lib/pkgconfig/id3tag.pc cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) cd $(DIR_APP) && make install