forked from hbang/TypeStatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
include theos/makefiles/common.mk
TWEAK_NAME = TypeStatus TypeStatusRelay TypeStatusClient
TypeStatus_FILES = SpringBoard.xm
TypeStatus_FRAMEWORKS = UIKit
TypeStatus_LDFLAGS = -fobjc-arc
TypeStatusRelay_FILES = IMAgentRelay.x
TypeStatusRelay_LDFLAGS = -fobjc-arc
TypeStatusClient_FILES = Client.xm HBTSPreferences.m HBTSStatusBarView.xm
TypeStatusClient_FRAMEWORKS = UIKit CoreGraphics
TypeStatusClient_LIBRARIES = cephei
TypeStatusClient_LDFLAGS = -fobjc-arc
SUBPROJECTS = prefs
include $(THEOS_MAKE_PATH)/tweak.mk
include $(THEOS_MAKE_PATH)/aggregate.mk
after-stage::
mkdir -p $(THEOS_STAGING_DIR)/DEBIAN
cp postinst $(THEOS_STAGING_DIR)/DEBIAN
cp postinst $(THEOS_STAGING_DIR)/DEBIAN/postrm
mkdir -p $(THEOS_STAGING_DIR)/System/Library/Frameworks/UIKit.framework
cp Resources/*.png $(THEOS_STAGING_DIR)/System/Library/Frameworks/UIKit.framework
after-install::
ifeq ($(RESPRING),0)
install.exec "killall Preferences; sleep 0.2; sbopenurl 'prefs:root=Cydia&path=TypeStatus'"
else
install.exec spring
endif