Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Copyright (C) 2008 OpenWrt.org
- #
- # This is free software, licensed under the GNU General Public License v2.
- #
- include $(TOPDIR)/rules.mk
- ## Package name
- PKG_NAME:=lpsk31
- ## Package version we need (to match our download source)
- PKG_VERSION:=1.1
- ## Release version (don't really needed, just for completeness)
- PKG_RELEASE:=1
- ## Name of the file we will download, with the previous package name definitions
- PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
- ## Url with the PKG_SOURCE file
- PKG_SOURCE_URL:=http://5b4az.chronos.org.uk/pkg/psk31/lpsk31/
- ## Program to uncompress the sources
- PKG_CAT:=bunzip2
- include $(INCLUDE_DIR)/package.mk
- # Definition of the package, for adding to menuconfig and creating the ipkg.
- define Package/lpsk31
- TITLE:=Text Based PSK31 Encoder / Decoder
- SECTION:=hamradio
- CATEGORY:=HamRadio
- URL:=http://5b4az.chronos.org.uk/pkg/psk31/lpsk31/
- endef
- # Directory where the sources will be uncompiled and built BUILD_DIR
- # is an env variable from the OpenWrt toolchain, you don't need to set
- # it.
- PKG_BUILD_DIR:=$(BUILD_DIR)/lpsk31-$(PKG_VERSION)
- # Long description of the package
- define Package/lpsk31/description
- lpsk31 is a text based psk31 encoder / decoder
- endef
- # If ./configure does not need any options, leave it as follows
- define Package/lpsk31/Build/Configure
- $(call Build/Configure/Default)
- endef
- # Where will be copied the binaries and libraries after installation.
- # lpsk31 creates the binary executable in the interface directory.
- define Package/lpsk31/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/interface/lpsk31 $(1)/usr/bin/
- endef
- # Final step for bulding the package
- $(eval $(call BuildPackage,lpsk31))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement