Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 498 → Rev 508

/programy/C/mips/capture/Makefile
26,7 → 26,7
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Canon Capture
DEPENDS:=+libptp2
DEPENDS:=+libptp2 +lusb
URL:=http://capture.sourceforge.net/
endef
 
34,9 → 34,18
Capture is a tool for periodic image capturing with digital Canon cameras.
endef
 
 
CFLAGS=-pedantic -pedantic-errors -Wall $(DEBUG_FLAGS) $(LIBPTP_INC) $(HAVE_READLINE)
LDLIBS= -lusb -lptp2
 
SOURCES := capture.c client.c commands.c properties.c ptp-utils.c server.c viewfinder.c
DEPFILES := $(SOURCES:.c=.d)
OBJS := capture.o ptp-utils.o server.o client.o properties.o commands.o
 
 
define Build/Compile
$(TOOLCHAIN_DIR)/bin/$(TARGET_CC) -Wall $(PKG_BUILD_DIR)/capture.c $(PKG_BUILD_DIR)/client.c $(PKG_BUILD_DIR)/commands.c $(PKG_BUILD_DIR)/properties.c $(PKG_BUILD_DIR)/ptp-utils.c $(PKG_BUILD_DIR)/server.c $(PKG_BUILD_DIR)/viewfinder.c -lusb -lptp2 -o $(PKG_INSTALL_DIR)/capture
install
cd $(PKG_BUILD_DIR)
$(TOOLCHAIN_DIR)/bin/$(TARGET_CC) $(CFLAGS) $(DEFINES) $(LDLIBS) -o $(PKG_BUILD_DIR)/capture
endef
 
define Package/capture/install
/programy/C/mips/libptp/Makefile
14,7 → 14,7
PKG_VERSION:=1.1.10
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.sourceforge.net/libptp/
PKG_SOURCE_URL:=@SF/libptp/
PKG_MD5SUM:=
 
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)