X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8afb23270d23db6a033ba8fb77e1cf1a1d925a7c..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/keynote/Makefile?ds=sidebyside diff --git a/package/keynote/Makefile b/package/keynote/Makefile index 38f1f6901..9d97a96ca 100644 --- a/package/keynote/Makefile +++ b/package/keynote/Makefile @@ -35,16 +35,13 @@ define Package/keynote URL:=http://www1.cs.columbia.edu/~angelos/keynote.html endef -define Build/Configure - $(call Build/Configure/Default, \ - --enable-static \ - --enable-shared \ - ) -endef +CONFIGURE_ARGS += \ + --enable-static \ + --enable-shared define Build/Compile $(call Build/Compile/Default, \ - CFLAGS="\$$$$(EXTRA_CFLAGS) \$$$$(EXTRA_LDFLAGS)" \ + LIBS="$(EXTRA_LDFLAGS) -L. -lkeynote -lm -lcrypto" \ ) endef @@ -61,7 +58,7 @@ define Build/UninstallDev endef define Package/keynote/install - install -d -m0755 $(1)/usr/sbin + $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_BUILD_DIR)/keynote $(1)/usr/sbin/ endef