summaryrefslogtreecommitdiff
path: root/package/jpeg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-24 17:41:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-24 17:41:36 +0100
commit0aabef127155575e8c8d660605f9401ab15356aa (patch)
treeb8cd5f06c60cd4e95fd7a2923dabb3b831dd93b3 /package/jpeg
parent0b09c2710166bd95ac9033b048bb6cbf7b4de7c2 (diff)
allow native build of a lot of packages
STAGING_TARGET_DIR is used for package Makefile's for include and library search path's. STAGING_DIR is used for common code in mk/ or Makefile/rules.mk. STAGING_TARGET_DIR is /usr when native builds are used.
Diffstat (limited to 'package/jpeg')
-rw-r--r--package/jpeg/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/jpeg/Makefile b/package/jpeg/Makefile
index 911e5c474..4f12836d5 100644
--- a/package/jpeg/Makefile
+++ b/package/jpeg/Makefile
@@ -12,9 +12,9 @@ PKG_SECTION:= libs
PKG_URL:= http://www.ijg.org/
PKG_SITES:= http://www.ijg.org/files/
-PKG_SUBPKGS:= LIBJPEG JPEG_DEV
-PKGSD_JPEG_DEV:= development files for jpeg
-PKGSC_JPEG_DEV:= devel
+PKG_SUBPKGS:= LIBJPEG LIBJPEG_DEV
+PKGSD_LIBJPEG_DEV:= development files for libjpeg
+PKGSC_LIBJPEG_DEV:= devel
DISTFILES:= ${PKG_NAME}src.v${PKG_VERSION}.tar.gz
@@ -25,14 +25,14 @@ endif
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBJPEG,libjpeg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,JPEG_DEV,libjpeg-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_JPEG_DEV},${PKGSC_JPEG_DEV}))
+$(eval $(call PKG_template,LIBJPEG_DEV,libjpeg-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBJPEG_DEV},${PKGSC_LIBJPEG_DEV}))
-post-install:
+libjpeg-install:
${INSTALL_DIR} ${IDIR_LIBJPEG}/usr/lib
${CP} ${WRKINST}/usr/lib/libjpeg.so* ${IDIR_LIBJPEG}/usr/lib/
-jpeg-dev-install:
- ${INSTALL_DIR} ${IDIR_JPEG_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/*.h ${IDIR_JPEG_DEV}/usr/include
+libjpeg-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBJPEG_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBJPEG_DEV}/usr/include
include ${TOPDIR}/mk/pkg-bottom.mk