OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # Copyright (C) 2012 David Kuehling <dvdkhlng TA gmx TOD de> |
| 3 | # |
| 4 | # License GPLv2 or later. NO WARRANTY. |
| 5 | # |
| 6 | # OpenWRT package that compile a simple allegro game library file dialog |
| 7 | # helper application. |
| 8 | |
| 9 | include $(TOPDIR)/rules.mk |
| 10 | |
| 11 | PKG_NAME:=alfilesel |
| 12 | PKG_VERSION:=0.1.0 |
| 13 | PKG_RELEASE:=3 |
| 14 | #PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 15 | #PKG_SOURCE_URL:=@SF/forth-brainless |
| 16 | #PKG_MD5SUM:=ed4a4cbbe23628b17edc5aa01f32f7fb |
| 17 | #PKG_INSTALL:=1 |
| 18 | |
| 19 | include $(INCLUDE_DIR)/package.mk |
| 20 | |
| 21 | define Package/alfilesel |
| 22 | SECTION:=utilities |
| 23 | CATEGORY:=Utilities |
| 24 | MAINTAINER:="David Kuehling" <dvdkhlng TA gmx TOD de> |
| 25 | TITLE:=Graphical file selector app to use in shell scripts |
| 26 | DEPENDS:=+liballegro +liballegro-jpeg +liballegro-png |
| 27 | endef |
| 28 | |
| 29 | define Package/alfilesel/description |
| 30 | A graphical file selector dialog using the allegro game library. Use it |
| 31 | to make allow gmenu2x shortcuts start applications that don\'t provide a menu |
| 32 | themselves (such as mplayer). |
| 33 | endef |
| 34 | |
| 35 | define Build/Configure |
| 36 | |
| 37 | endef |
| 38 | |
| 39 | TARGET_LDFLAGS += -ljpgalleg -lloadpng -lalleg -lpng -lz -lm -lpthread -lrt |
| 40 | |
| 41 | define Build/Configure |
| 42 | $(CP) ./files/alfilesel.c $(PKG_BUILD_DIR)/ |
| 43 | endef |
| 44 | |
| 45 | define Build/Compile |
| 46 | $(call Build/Compile/Default, alfilesel) |
| 47 | endef |
| 48 | |
| 49 | define Package/alfilesel/install |
| 50 | $(INSTALL_DIR) $(1)/usr/bin |
| 51 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/alfilesel $(1)/usr/bin/ |
| 52 | endef |
| 53 | |
| 54 | $(eval $(call BuildPackage,alfilesel)) |
| 55 | |
| 56 | # The following comments configure the Emacs editor. Just ignore them. |
| 57 | # Local Variables: |
| 58 | # compile-command: "make -C ~/h/src/qi/openwrt-xburst package/alfilesel/compile -j2 V=99" |
| 59 | # End: |
| 60 |
