arch := iphoneos-arm
console += -framework UIKit
-depends += readline libffi mobilesubstrate sqlite3-lib
-depends += -framework CFNetwork
+depends += apr-lib readline libffi mobilesubstrate sqlite3-lib
+#library += -framework CFNetwork
+library += -framework WebCore
# XXX: all Darwin, maybe all device, should have this
library += -lsubstrate
-lapr-1 -lsubstrate -framework CFNetwork
$(ldid) $@
-extra:
+extra::
+ sed -i -e '/^Depends: / s/\<mobilesubstrate\>/mobilesubstrate (>= 0.9.3072)/g' package/DEBIAN/control
#mkdir -p package/System/Library/LaunchDaemons
#cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons