Hello everyone, I have got a program to build with the OpenWRT toolchain, but now I need to make it into a package. I created a folder in /root/openwrt-xburst/package with name 'crashmail'. Then I tried to write a makefile:
include $(TOPDIR)/rules.mk PKG_NAME:=crashmail PKG_VERSION:=0.71 PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/crashmail-$(PKG_VERSION) PKG_SOURCE:=crashmail_$(PKG_VERSION).orig.tar.gz PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/c/crashmail PKG_MD5SUM:=8dbfa277fec07f477b67b6c7944432bb PKG_CAT:=zcat include $(INCLUDE_DIR)/package.mk define Package/crashmail SECTION:=base CATEGORY:=Network DEFAULT:=y TITLE:=CrashMail II DESCRIPTION:=CrashMail II is basically a more portable version of CrashMail, a FidoNet tosser for Amiga computers. URL:=http://packages.debian.org/ru/squeeze/crashmail endef define Package/crashmail/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/ endef $(eval $(call BuildPackage,bridge)) However, I think it's incorrect and I can't understand how do I need to write this makefile. I'm a noob. Could anyone please help me? Thanks! ~ Vladislav Korotnev _______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

