mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
+5
-16
@@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=jpeg
|
||||
PKG_VERSION:=6b
|
||||
PKG_VERSION:=9a
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)src.v$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/libjpeg
|
||||
PKG_MD5SUM:=dbd5f3b47ed13132f04c685d608a7547
|
||||
PKG_SOURCE_URL:=http://www.ijg.org/files
|
||||
PKG_MD5SUM:=3353992aecaee1805ef4109aadd433e7
|
||||
|
||||
PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
|
||||
PKG_LICENSE:=IJG
|
||||
@@ -55,26 +55,15 @@ HOST_CONFIGURE_ARGS += \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
(cd $(PKG_BUILD_DIR); \
|
||||
rm -f ltconfig ltmain.sh libtool; \
|
||||
ln -s `which true` ltconfig; \
|
||||
ln -s $(STAGING_DIR)/host/bin/libtool libtool; \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
|
||||
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
||||
LIBTOOL="./libtool --tag=CC" \
|
||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||
all
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||
install install-headers install-lib
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
|
||||
Reference in New Issue
Block a user