Difference between revisions of "Libpng"
From CBLFS
Jump to navigationJump to searchLine 37: | Line 37: | ||
make install && | make install && | ||
− | mv -v /usr/bin/ | + | mv -v /usr/bin/libpng12-config{,-32} && |
− | + | ln -sf libpng12-config-32 /usr/bin/libpng-config-32 | |
=== N32 === | === N32 === | ||
Line 50: | Line 50: | ||
make install && | make install && | ||
− | mv -v /usr/bin/ | + | mv -v /usr/bin/libpng12-config{,-n32} && |
− | + | ln -sf libpng12-config-n32 /usr/bin/libpng-config-n32 | |
=== 64Bit === | === 64Bit === | ||
Line 63: | Line 63: | ||
make install && | make install && | ||
− | |||
mv -v /usr/bin/libpng12-config{,-64} && | mv -v /usr/bin/libpng12-config{,-64} && | ||
+ | ln -sf libpng12-config-64 /usr/bin/libpng-config-64 && | ||
ln -sv multiarch_wrapper /usr/bin/libpng-config && | ln -sv multiarch_wrapper /usr/bin/libpng-config && | ||
ln -sv multiarch_wrapper /usr/bin/libpng12-config && | ln -sv multiarch_wrapper /usr/bin/libpng12-config && | ||
install -v -m755 -d /usr/share/doc/libpng-1.2.12 && | install -v -m755 -d /usr/share/doc/libpng-1.2.12 && | ||
install -v -m644 README libpng.txt /usr/share/doc/libpng-1.2.12 | install -v -m644 README libpng.txt /usr/share/doc/libpng-1.2.12 |
Revision as of 13:20, 3 September 2006
Download Source: | http://prdownloads.sourceforge.net/libpng/libpng-1.2.12.tar.bz2 |
---|---|
Download Source: | ftp://ftp.cross-lfs.org/pub/cblfs/conglomeration/libpng/libpng-1.2.12.tar.bz2 |
Dependencies
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install && install -v -m755 -d /usr/share/doc/libpng-1.2.12 && install -v -m644 README libpng.txt /usr/share/doc/libpng-1.2.12
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/libpng12-config{,-32} && ln -sf libpng12-config-32 /usr/bin/libpng-config-32
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/libpng12-config{,-n32} && ln -sf libpng12-config-n32 /usr/bin/libpng-config-n32
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/libpng12-config{,-64} && ln -sf libpng12-config-64 /usr/bin/libpng-config-64 && ln -sv multiarch_wrapper /usr/bin/libpng-config && ln -sv multiarch_wrapper /usr/bin/libpng12-config && install -v -m755 -d /usr/share/doc/libpng-1.2.12 && install -v -m644 README libpng.txt /usr/share/doc/libpng-1.2.12