Changeset 22346


Ignore:
Timestamp:
2010-07-22T05:07:46+02:00 (8 years ago)
Author:
swalker
Message:

[packages] tmux: update to 1.3 (#7642, thanks Zuljin), use PKG_INSTALL, cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/tmux/Makefile

    r20487 r22346  
    88include $(TOPDIR)/rules.mk 
    99 
    10  
    1110PKG_NAME:=tmux 
    12 PKG_VERSION:=1.2 
     11PKG_VERSION:=1.3 
    1312PKG_RELEASE:=1 
    1413 
    1514PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1615PKG_SOURCE_URL:=@SF/tmux 
    17 PKG_MD5SUM:=748fbe7bb5f86812e19bd6005ff21a5a 
     16PKG_MD5SUM:=96e60cb206de2db0610b9fb6a64c2251 
     17 
     18PKG_INSTALL:=1 
    1819 
    1920include $(INCLUDE_DIR)/package.mk 
     
    2425  TITLE:=Terminal multiplexer 
    2526  DEPENDS:=+libncurses +libevent +librt 
    26   URL:=http://tmux.sourceforge.net 
     27  URL:=http://tmux.sourceforge.net/ 
    2728endef 
    2829 
     
    3132endef 
    3233 
    33 define Build/Compile 
    34         CC="$(TARGET_CC)" \ 
    35         CFLAGS="$(TARGET_CFLAGS)" \ 
    36         CPPFLAGS="$(TARGET_CPPFLAGS)" \ 
    37         LDFLAGS="$(TARGET_LDFLAGS)" \ 
     34MAKE_FLAGS += \ 
     35        PREFIX="/usr" \ 
    3836        TMUX_PLATFORM="Linux" \ 
    39         $(MAKE) -C $(PKG_BUILD_DIR) all 
    40 endef 
    4137 
    4238define Package/tmux/install 
    4339        $(INSTALL_DIR) $(1)/usr/bin 
    44         $(INSTALL_BIN) $(PKG_BUILD_DIR)/tmux $(1)/usr/bin/ 
     40        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/ 
    4541endef 
    4642 
Note: See TracChangeset for help on using the changeset viewer.