Difference between revisions of "Libid3tag"

From CBLFS
Jump to navigationJump to search
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz
+
| http://prdownloads.sourceforge.net/mad/libid3tag-{{Libid3tag-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|Libid3tag is an ID3 tag manipulation library.|http://www.underbit.com/products/mad/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 15: Line 17:
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
 
Install the package
 
 
make install
 
  
 
Create a pkg-config file:
 
Create a pkg-config file:
  
  cat > /usr/lib/pkgconfig/id3tag.pc << "EOF"
+
  cat > id3tag.pc << "EOF"
 
  prefix=/usr
 
  prefix=/usr
 
  exec_prefix=${prefix}
 
  exec_prefix=${prefix}
Line 30: Line 28:
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
  Version: 0.15.1b
+
  Version: {{Libid3tag-Version}}
 
   
 
   
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
  Cflags: -I${includedir}  
+
  Cflags: -I${includedir}
 
  EOF
 
  EOF
 +
 +
Install the package
 +
 +
make install &&
 +
install -v -m644 id3tag.pc /usr/lib/pkgconfig
  
 
== Multilib ==
 
== Multilib ==
Line 44: Line 47:
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
 
Install the package
 
 
make install
 
  
 
Create a pkg-config file:
 
Create a pkg-config file:
  
  cat > /usr/lib/pkgconfig/id3tag.pc << "EOF"
+
  cat > id3tag.pc << "EOF"
 
  prefix=/usr
 
  prefix=/usr
 
  exec_prefix=${prefix}
 
  exec_prefix=${prefix}
Line 59: Line 58:
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
  Version: 0.15.1b
+
  Version: {{Libid3tag-Version}}
 
   
 
   
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
  Cflags: -I${includedir}  
+
  Cflags: -I${includedir}
 
  EOF
 
  EOF
 +
 +
Install the package
 +
 +
make install &&
 +
install -v -m644 id3tag.pc /usr/lib/pkgconfig
  
 
=== N32 ===
 
=== N32 ===
Line 71: Line 75:
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
 
Install the package
 
 
make install
 
  
 
Create a pkg-config file:
 
Create a pkg-config file:
  
  cat > /usr/lib32/pkgconfig/id3tag.pc << "EOF"
+
  cat > id3tag.pc << "EOF"
 
  prefix=/usr
 
  prefix=/usr
 
  exec_prefix=${prefix}
 
  exec_prefix=${prefix}
Line 86: Line 86:
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
  Version: 0.15.1b
+
  Version: {{Libid3tag-Version}}
 
   
 
   
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
  Cflags: -I${includedir}  
+
  Cflags: -I${includedir}
 
  EOF
 
  EOF
 +
 +
Install the package
 +
 +
make install &&
 +
install -v -m644 id3tag.pc /usr/lib32/pkgconfig
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 98: Line 103:
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
 
Install the package
 
 
make install
 
  
 
Create a pkg-config file:
 
Create a pkg-config file:
  
  cat > /usr/lib64/pkgconfig/id3tag.pc << "EOF"
+
  cat > id3tag.pc << "EOF"
 
  prefix=/usr
 
  prefix=/usr
 
  exec_prefix=${prefix}
 
  exec_prefix=${prefix}
Line 113: Line 114:
 
  Name: libid3tag
 
  Name: libid3tag
 
  Description: ID3 tag manipulation library
 
  Description: ID3 tag manipulation library
  Version: 0.15.1b
+
  Version: {{Libid3tag-Version}}
 
   
 
   
 
  Libs: -L${libdir} -lid3tag
 
  Libs: -L${libdir} -lid3tag
  Cflags: -I${includedir}  
+
  Cflags: -I${includedir}
 
  EOF
 
  EOF
 +
 +
Install the package
 +
 +
make install &&
 +
install -v -m644 id3tag.pc /usr/lib64/pkgconfig
 +
 +
[[Category:Media Libraries]]

Latest revision as of 15:27, 19 March 2009

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