source: trunk/make/privatekeypassword/privatekeypassword.mk @ 14403

Letzte Änderung dieser Datei seit 14403 war 14403, erstellt von er13 vor 13 Monaten

libprivatekeypassword:

Dateigröße: 1.4 KB
Zeile 
1$(call PKG_INIT_BIN, v0.6)
2$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.xz
3$(PKG)_SITE:=git@https://github.com/PeterPawn/$(pkg).git
4
5$(PKG)_BINARY:=$($(PKG)_DIR)/$(pkg)
6$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/bin/$(pkg)
7
8$(PKG)_LIB_BINARY:=$($(PKG)_DIR)/lib$(pkg).so
9$(PKG)_LIB_STAGING_BINARY:=$(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/lib$(pkg).so
10$(PKG)_LIB_TARGET_BINARY:=$($(PKG)_TARGET_LIBDIR)/lib$(pkg).so
11
12$(PKG_SOURCE_DOWNLOAD)
13$(PKG_UNPACKED)
14$(PKG_CONFIGURED_NOP)
15
16$($(PKG)_LIB_BINARY) $($(PKG)_BINARY): $($(PKG)_DIR)/.configured
17    $(SUBMAKE) -C $(PRIVATEKEYPASSWORD_DIR) \
18        CC="$(TARGET_CC)" \
19        CFLAGS="$(TARGET_CFLAGS)" \
20        OPT="" \
21        AR="$(TARGET_AR)" \
22        RANLIB="$(TARGET_RANLIB)"
23
24$($(PKG)_LIB_STAGING_BINARY): $($(PKG)_LIB_BINARY)
25    $(SUBMAKE) -C $(PRIVATEKEYPASSWORD_DIR) \
26        DESTDIR="$(TARGET_TOOLCHAIN_STAGING_DIR)" \
27        install-lib
28
29$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
30    $(INSTALL_BINARY_STRIP)
31
32$($(PKG)_LIB_TARGET_BINARY): $($(PKG)_LIB_STAGING_BINARY)
33    $(INSTALL_LIBRARY_STRIP)
34
35$(pkg):
36
37$(pkg)-precompiled: $($(PKG)_TARGET_BINARY) $($(PKG)_LIB_TARGET_BINARY)
38
39$(pkg)-clean:
40    -$(SUBMAKE) -C $(PRIVATEKEYPASSWORD_DIR) clean
41    $(RM) -r \
42        $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/libprivatekeypassword* \
43        $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/include/privatekeypassword
44
45$(pkg)-uninstall:
46    $(RM) \
47        $(PRIVATEKEYPASSWORD_TARGET_BINARY) \
48        $(PRIVATEKEYPASSWORD_TARGET_LIBDIR)/libprivatekeypassword.so*
49
50$(call PKG_ADD_LIB,libprivatekeypassword)
51$(PKG_FINISH)
Hinweis: Hilfe zum Repository-Browser finden Sie in TracBrowser.