Difference between revisions of "Libid3tag"

From CBLFS
Jump to navigationJump to search
m
m
Line 25: Line 25:
 
  libdir=${exec_prefix}/lib
 
  libdir=${exec_prefix}/lib
 
  includedir=${prefix}/include
 
  includedir=${prefix}/include
 
+
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
 
  Version: {{Libid3tag-Version}}
 
  Version: {{Libid3tag-Version}}
 
+
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
 
  Cflags: -I${includedir}
 
  Cflags: -I${includedir}
Line 55: Line 55:
 
  libdir=${exec_prefix}/lib
 
  libdir=${exec_prefix}/lib
 
  includedir=${prefix}/include
 
  includedir=${prefix}/include
 
+
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
 
  Version: {{Libid3tag-Version}}
 
  Version: {{Libid3tag-Version}}
 
+
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
 
  Cflags: -I${includedir}
 
  Cflags: -I${includedir}
Line 83: Line 83:
 
  libdir=${exec_prefix}/lib32
 
  libdir=${exec_prefix}/lib32
 
  includedir=${prefix}/include
 
  includedir=${prefix}/include
 
+
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
 
  Version: {{Libid3tag-Version}}
 
  Version: {{Libid3tag-Version}}
 
+
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
 
  Cflags: -I${includedir}
 
  Cflags: -I${includedir}
Line 111: Line 111:
 
  libdir=${exec_prefix}/lib64
 
  libdir=${exec_prefix}/lib64
 
  includedir=${prefix}/include
 
  includedir=${prefix}/include
 
+
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
 
  Version: {{Libid3tag-Version}}
 
  Version: {{Libid3tag-Version}}
 
+
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
 
  Cflags: -I${includedir}
 
  Cflags: -I${includedir}

Revision as of 02:41, 24 May 2008

Download Source: http://prdownloads.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz

Introduction to Libid3tag

Libid3tag is an ID3 tag manipulation library.

Project Homepage: http://www.underbit.com/products/mad/

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Create a pkg-config file:

cat > id3tag.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libid3tag
Description: ID3 tag manipulation library
Version: 0.15.1b

Libs: -L${libdir} -lid3tag
Cflags: -I${includedir}
EOF

Install the package

make install &&
install -v -m644 id3tag.pc /usr/lib/pkgconfig

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Create a pkg-config file:

cat > id3tag.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libid3tag
Description: ID3 tag manipulation library
Version: 0.15.1b

Libs: -L${libdir} -lid3tag
Cflags: -I${includedir}
EOF

Install the package

make install &&
install -v -m644 id3tag.pc /usr/lib/pkgconfig

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Create a pkg-config file:

cat > id3tag.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib32
includedir=${prefix}/include

Name: libid3tag
Description: ID3 tag manipulation library
Version: 0.15.1b

Libs: -L${libdir} -lid3tag
Cflags: -I${includedir}
EOF

Install the package

make install &&
install -v -m644 id3tag.pc /usr/lib32/pkgconfig

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Create a pkg-config file:

cat > id3tag.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

Name: libid3tag
Description: ID3 tag manipulation library
Version: 0.15.1b

Libs: -L${libdir} -lid3tag
Cflags: -I${includedir}
EOF

Install the package

make install &&
install -v -m644 id3tag.pc /usr/lib64/pkgconfig