mpc: update to 0.35
[feed/packages.git] / utils / reptyr / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=reptyr
4 PKG_VERSION:=0.10.0
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=https://github.com/nelhage/reptyr/archive/
9 PKG_HASH:=c6ffbc34a511ac00d072219bda30699e51f2f4eb483cbae9e32e981d49e8b380
10 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
11
12 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
13 PKG_LICENSE:=MIT
14 PKG_LICENSE_FILES:=COPYING
15
16 PKG_BUILD_PARALLEL:=1
17 PKG_INSTALL:=1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/reptyr
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=Tool for reparenting running programs
25 URL:=https://github.com/nelhage/reptyr
26 DEPENDS:=@!(arc||mips||mipsel||mips64||mips64el)
27 endef
28
29 define Package/reptyr/description
30 reptyr is a utility for taking an existing running program and attaching it
31 to a new terminal. Started a long-running process over ssh, but have to
32 leave and don't want to interrupt it? Just start a screen, use reptyr to
33 grab it, and then kill the ssh session and head on home.
34 endef
35
36 MAKE_FLAGS+= \
37 UNAME_S=Linux \
38 PREFIX=/usr
39
40 define Package/reptyr/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/reptyr $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,reptyr))