Date:2010-08-23 01:23:49 (1 year 5 months ago)
Author:neil
Commit:0ba991d511471e320dbe32b1acae842a7865d2a1
Message:There is now a port of Nightsky - a very basic rendering of the stars in the sky

Files: nightsky/Makefile (1 diff)

Change Details

nightsky/Makefile
1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=nightsky
9PKG_VERSION:=20100823
10PKG_RELEASE:=1
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=@SF/$(PKG_NAME)
14PKG_MD5SUM:=56e60be8db24f6fb6456e6e39e3ae6bd
15
16PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/nightsky
21  TITLE:=Nightsky
22  SECTION:=education
23  CATEGORY:=Education
24  URL:=https://sourceforge.net/projects/nightsky/
25  DEPENDS:=+libsdl +libsdl-image
26endef
27
28define Package/nightsky/description
29  Nightsky is a very basic rendering of the stars in the sky for devices that aren't powerful enough to run Stellarium
30endef
31
32define Package/nightsky/install
33    $(INSTALL_DIR) \
34        $(1)/usr/bin/ \
35        $(1)/usr/share/nightsky/ \
36
37    $(INSTALL_BIN) \
38        $(PKG_BUILD_DIR)/src/nightsky \
39        $(1)/usr/bin/
40
41    $(INSTALL_DATA) \
42        $(PKG_BUILD_DIR)/example-nightsky.yml \
43        $(PKG_BUILD_DIR)/README \
44        $(PKG_BUILD_DIR)/data/*.tsv \
45        $(PKG_BUILD_DIR)/data/cursor.png \
46        $(1)/usr/share/nightsky/
47
48    $(INSTALL_DATA) \
49        $(PKG_BUILD_DIR)/data/un-fuzzy-6x10-font.png \
50        $(1)/usr/share/nightsky/font.png
51
52endef
53
54$(eval $(call BuildPackage,nightsky))

Archive Download the corresponding diff file



interactive