X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=libs%2Fst2205tool%2FMakefile;h=29ac98c3d13da6fbea4e667ff8e5ad5d9148f2ef;hp=656395d363e01e66019cb4abfa440e45154d711e;hb=2f913d66695bf9331b6a351e25a61f94bec30127;hpb=0fcfddc2a535f235f0e8250a923ceb6565edfb27 diff --git a/libs/st2205tool/Makefile b/libs/st2205tool/Makefile index 656395d363..29ac98c3d1 100644 --- a/libs/st2205tool/Makefile +++ b/libs/st2205tool/Makefile @@ -1,20 +1,19 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: include $(TOPDIR)/rules.mk PKG_NAME:=st2205tool -PKG_VERSION:=1.4pre1 -PKG_RELEASE:=1 +PKG_VERSION:=1.4.3 +PKG_RELEASE:=2 -PKG_SOURCE:=st2205tool-v$(PKG_VERSION).tgz -PKG_SOURCE_URL:=http://spritesmods.com/picframe/ -PKG_MD5SUM:=bf602227bce9c4365e5ae5e9b383d8d9 +PKG_SOURCE:=st2205tool-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ +PKG_MD5SUM:=827e3b719ebaf6bc537f2ce0ece3fccb PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) @@ -24,7 +23,7 @@ define Package/st2205tool SECTION:=libs CATEGORY:=Libraries TITLE:=ST220xu powered photo-frames library - DEPENDS:=libgd + DEPENDS:=+libgd URL:=http://picframe.spritesserver.nl/wiki/ endef @@ -37,8 +36,8 @@ TARGET_CFLAGS += $(FPIC) MAKE_FLAGS += \ CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/libst2205/" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ - SETPICLIBS="-L$(STAGING_DIR)/usr/lib -lgd -ljpeg -lpng -lz -L../libst2205 -lst2205" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + SETPICLIBS="$(TARGET_LDFLAGS) -lgd -ljpeg -lpng -lz -L../libst2205 -lst2205" \ define Build/InstallDev @@ -51,10 +50,9 @@ endef define Package/st2205tool/install $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/{bgrep,phack,splice,hackfw.sh} $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/setpic/setpic $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/libst2205/libst2205.so* $(1)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/libst2205/libst2205.so $(1)/usr/lib/libst2205.so.1 endef $(eval $(call BuildPackage,st2205tool))