diff --git a/packages/graphics/libpng/build b/packages/graphics/libpng/build index 96a3e3e80c..e4a4d26a61 100755 --- a/packages/graphics/libpng/build +++ b/packages/graphics/libpng/build @@ -2,9 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain -$SCRIPTS/build zlib - cd $PKG_BUILD ac_cv_lib_z_zlibVersion=yes \ ./configure --host=$TARGET_NAME \ @@ -21,4 +18,4 @@ $MAKEINSTALL $SED "s:\([\"'= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \ $SYSROOT_PREFIX/usr/bin/libpng*-config -cp -PR $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin +cp -P $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin diff --git a/packages/graphics/libpng/install b/packages/graphics/libpng/install index c68cfad8b5..aa9caa9330 100755 --- a/packages/graphics/libpng/install +++ b/packages/graphics/libpng/install @@ -3,4 +3,4 @@ . config/options $1 mkdir -p $INSTALL/usr/lib - cp -PR $PKG_BUILD/.libs/libpng14.so* $INSTALL/usr/lib + cp -P $PKG_BUILD/.libs/libpng14.so* $INSTALL/usr/lib diff --git a/packages/graphics/libpng/meta b/packages/graphics/libpng/meta new file mode 100644 index 0000000000..ddca022bc1 --- /dev/null +++ b/packages/graphics/libpng/meta @@ -0,0 +1,14 @@ +PKG_NAME="libpng" +PKG_VERSION="1.4.4" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="OSS" +PKG_SITE="http://www.libpng.org/" +PKG_URL="http://downloads.sourceforge.net/libpng/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="zlib" +PKG_BUILD_DEPENDS="toolchain zlib" +PKG_PRIORITY="optional" +PKG_SECTION="graphics" +PKG_SHORTDESC="libpng: Portable Network Graphics (PNG) Reference Library" +PKG_LONGDESC="PNG (Portable Network Graphics) is an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. Sample depths range from 1 to 16 bits." +PKG_IS_ADDON="no" diff --git a/packages/graphics/libpng/patches/libpng-1.4.1-apng.diff b/packages/graphics/libpng/patches/libpng-1.4.4-apng.patch similarity index 100% rename from packages/graphics/libpng/patches/libpng-1.4.1-apng.diff rename to packages/graphics/libpng/patches/libpng-1.4.4-apng.patch diff --git a/packages/graphics/libpng/url b/packages/graphics/libpng/url deleted file mode 100644 index d4a5d11dca..0000000000 --- a/packages/graphics/libpng/url +++ /dev/null @@ -1 +0,0 @@ -http://downloads.sourceforge.net/libpng/libpng-1.4.4.tar.bz2