source: branches/freetz-stable-2.0/make/htop/htop.mk @ 13446

Letzte Änderung dieser Datei seit 13446 war 13446, erstellt von MaxMuster vor 3 Jahren

htop:

  • fix build with uClibc 0.9.28 (missing cpu_set_t)
  • refs #2795
Dateigröße: 941 Byte
Zeile 
1$(call PKG_INIT_BIN, 1.0.2)
2$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
3$(PKG)_SOURCE_MD5:=0d01cca8df3349c74569cefebbd9919e
4$(PKG)_SITE:=@SF/htop
5
6$(PKG)_BINARY:=$($(PKG)_DIR)/htop
7$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/usr/bin/htop
8
9$(PKG)_DEPENDS_ON := ncurses
10
11$(PKG)_CONFIGURE_ENV += ac_cv_file__proc_stat=yes
12$(PKG)_CONFIGURE_ENV += ac_cv_file__proc_meminfo=yes
13
14$(PKG)_CONFIGURE_OPTIONS += --disable-unicode
15ifeq ($(strip $(FREETZ_TARGET_UCLIBC_VERSION_0_9_28)),y)
16$(PKG)_CONFIGURE_OPTIONS += --disable-native-affinity
17endif
18
19$(PKG_SOURCE_DOWNLOAD)
20$(PKG_UNPACKED)
21$(PKG_CONFIGURED_CONFIGURE)
22
23$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
24    $(SUBMAKE) -C $(HTOP_DIR)
25
26$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
27    $(INSTALL_BINARY_STRIP)
28
29$(pkg):
30
31$(pkg)-precompiled: $($(PKG)_TARGET_BINARY)
32
33$(pkg)-clean:
34    -$(SUBMAKE) -C $(HTOP_DIR) clean
35    $(RM) $(HTOP_DIR)/.configured
36
37$(pkg)-uninstall:
38    $(RM) $(HTOP_TARGET_BINARY)
39
40$(PKG_FINISH)
Hinweis: Hilfe zum Repository-Browser finden Sie in TracBrowser.