]>
Commit | Line | Data |
---|---|---|
62ca2b82 JF |
1 | package: |
2 | ||
c1582939 | 3 | name := Cyrver |
62ca2b82 JF |
4 | flags := -framework CFNetwork -framework JavaScriptCore -framework WebCore -install_name /usr/lib/libcyrver.dylib |
5 | base := $(shell cd ~; pwd)/menes/tweaks | |
6 | include $(base)/tweak.mk | |
7 | ||
8 | all: cyrver | |
9 | ||
10 | extra: | |
11 | mkdir -p package/usr/{bin,lib} | |
12 | mv package/Library/MobileSubstrate/DynamicLibraries/Cyrver.dylib package/usr/lib/libcyrver.dylib | |
13 | ln -s /usr/lib/libcyrver.dylib package/Library/MobileSubstrate/DynamicLibraries/Cyrver.dylib | |
14 | cp -a cyrver package/usr/bin | |
15 | ||
16 | cyrver: Application.mm Cyrver.dylib | |
17 | $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc Cyrver.dylib -framework JavaScriptCore -F${PKG_ROOT}/System/Library/PrivateFrameworks | |
18 | ldid -S cyrver |