Difference between revisions of "Libid3tag"

From CBLFS
Jump to navigationJump to search
 
Line 19: Line 19:
  
 
  make install
 
  make install
 +
 +
Create a pkg-config file:
 +
 +
cat > /usr/lib/pkgconfig/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
  
 
== Multilib ==
 
== Multilib ==
Line 32: Line 48:
  
 
  make install
 
  make install
 +
 +
Create a pkg-config file:
 +
 +
cat > /usr/lib/pkgconfig/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
  
 
=== N32 ===
 
=== N32 ===
Line 43: Line 75:
  
 
  make install
 
  make install
 +
 +
Create a pkg-config file:
 +
 +
cat > /usr/lib32/pkgconfig/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
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 54: Line 102:
  
 
  make install
 
  make install
 +
 +
Create a pkg-config file:
 +
 +
cat > /usr/lib64/pkgconfig/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

Revision as of 15:31, 20 November 2006

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

Dependencies

Non-Multilib

Compile the package:

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

Install the package

make install

Create a pkg-config file:

cat > /usr/lib/pkgconfig/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

Multilib

32Bit

Compile the package:

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

Install the package

make install

Create a pkg-config file:

cat > /usr/lib/pkgconfig/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

N32

Compile the package:

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

Install the package

make install

Create a pkg-config file:

cat > /usr/lib32/pkgconfig/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

64Bit

Compile the package:

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

Install the package

make install

Create a pkg-config file:

cat > /usr/lib64/pkgconfig/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
Retrieved from "?title=Libid3tag&oldid=4162"