Date:2011-07-02 13:32:27 (12 years 8 months ago)
Author:Xiangfu Liu
Commit:46fbba1a3290c60d9c127e651894e64664a00dec
Message:new package: pem, tool to help you keep track of your personal income and expenses

Files: pem/Makefile (1 diff)

Change Details

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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=pem
11PKG_VERSION:=0.7.8
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/pem/
16PKG_CAT:=zcat
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20include $(INCLUDE_DIR)/package.mk
21
22TARGET_LDFLAGS+= \
23    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24
25define 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
31endef
32
33define Package/pem/description
34    GNU Pem is a handy tool to help you keep track of your
35personal income and expenses. On GNU/Linux and other Unix
36like systems, Pem works by storing the details in a CSV file
37placed in the ~/.pem directory under your $HOME directory.
38On Windows, the same file is placed in pem directory, under
39the %USERPROFILE% directory. Each such file is named after
40the current month, and is automatically created by Pem when
41you enter the first record for a month. It is not advisable
42to edit these files by hand.
43endef
44
45define Build/Configure
46    $(call Build/Configure/Default)
47endef
48
49define Package/pem/install
50    $(INSTALL_DIR) $(1)/usr/bin
51    $(INSTALL_BIN) $(PKG_BUILD_DIR)/pem $(1)/usr/bin/
52endef
53
54$(eval $(call BuildPackage,pem))
55

Archive Download the corresponding diff file



interactive