pem/Makefile |
| 1 | # |
| 2 | # Author : Ernest Kugel <erik.kugel@gmail.com> |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=pem |
| 11 | PKG_VERSION:=0.7.8 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 15 | PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/pem/ |
| 16 | PKG_CAT:=zcat |
| 17 | |
| 18 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 19 | |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | |
| 22 | TARGET_LDFLAGS+= \ |
| 23 | -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
| 24 | |
| 25 | define Package/pem |
| 26 | SECTION:=utils |
| 27 | CATEGORY:=Utilities |
| 28 | TITLE:=Pem |
| 29 | URL:=http://www.gnu.org/software/pem |
| 30 | DEPENDS:=+perl +perlbase-essential +perlbase-posix +perlbase-xsloader +perlbase-autoloader +perlbase-encoding +perlbase-fcntl +perlbase-tie |
| 31 | endef |
| 32 | |
| 33 | define Package/pem/description |
| 34 | GNU Pem is a handy tool to help you keep track of your |
| 35 | personal income and expenses. On GNU/Linux and other Unix |
| 36 | like systems, Pem works by storing the details in a CSV file |
| 37 | placed in the ~/.pem directory under your $HOME directory. |
| 38 | On Windows, the same file is placed in pem directory, under |
| 39 | the %USERPROFILE% directory. Each such file is named after |
| 40 | the current month, and is automatically created by Pem when |
| 41 | you enter the first record for a month. It is not advisable |
| 42 | to edit these files by hand. |
| 43 | endef |
| 44 | |
| 45 | define Build/Configure |
| 46 | $(call Build/Configure/Default) |
| 47 | endef |
| 48 | |
| 49 | define Package/pem/install |
| 50 | $(INSTALL_DIR) $(1)/usr/bin |
| 51 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/pem $(1)/usr/bin/ |
| 52 | endef |
| 53 | |
| 54 | $(eval $(call BuildPackage,pem)) |
| 55 | |