Change Details
dgclock/Makefile |
20 | 20 | |
21 | 21 | include $(INCLUDE_DIR)/package.mk |
22 | 22 | |
23 | | TARGET_CFLAGS+=\ |
| 23 | TARGET_CFLAGS += \ |
24 | 24 | -I$(STAGING_DIR)/usr/lib/libintl/include/ \ |
25 | | -I$(STAGING_DIR)/usr/lib/libiconv/include/ |
| 25 | -I$(STAGING_DIR)/usr/lib/libiconv/include/ \ |
| 26 | -I$(STAGING_DIR)/usr/include/SDL |
26 | 27 | |
27 | | TARGET_LDFLAGS+=\ |
| 28 | TARGET_LDFLAGS += \ |
28 | 29 | -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ |
29 | 30 | -L$(STAGING_DIR)/usr/lib/libintl/lib/ \ |
30 | 31 | -L$(STAGING_DIR)/usr/lib/libiconv/lib/ |
... | ... | |
41 | 42 | Clock and date in sdl |
42 | 43 | endef |
43 | 44 | |
44 | | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL |
45 | | |
46 | 45 | define Build/Compile |
47 | 46 | $(call Build/Compile/Default, \ |
48 | | A320=1\ |
| 47 | A320=1 \ |
49 | 48 | ) |
50 | 49 | endef |
51 | 50 | |
52 | 51 | define Package/dgclock/install |
53 | 52 | $(INSTALL_DIR) \ |
54 | | $(1)/usr/bin |
| 53 | $(1)/usr/bin \ |
| 54 | $(1)/usr/share/icons \ |
| 55 | $(1)/usr/share/applications |
55 | 56 | |
56 | 57 | $(INSTALL_BIN) \ |
57 | 58 | $(PKG_BUILD_DIR)/bin/a320/dgclock \ |
58 | 59 | $(1)/usr/bin/ |
59 | | |
| 60 | |
| 61 | $(INSTALL_DATA) \ |
| 62 | $(PKG_BUILD_DIR)/dgclock/dgclock.png \ |
| 63 | $(1)/usr/share/icons/ |
| 64 | |
| 65 | $(INSTALL_DATA) \ |
| 66 | ./files/dglock.desktop \ |
| 67 | $(1)/usr/share/applications/ |
60 | 68 | endef |
61 | 69 | |
62 | 70 | $(eval $(call BuildPackage,dgclock)) |
dgclock/files/dgclock.desktop |
| 1 | [Desktop Entry] |
| 2 | Name=dgclock |
| 3 | Comment=sdl based date/time displayer |
| 4 | Encoding=UTF-8 |
| 5 | Version=1.0 |
| 6 | Type=Application |
| 7 | Exec=dgclock |
| 8 | Icon=dgclock |
| 9 | Terminal=false |
| 10 | Categories=Application |
| 11 | SingleInstance=false |
Download the corresponding diff file