OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 12 years 5 months ago. By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries | |
---|---|
1 | # |
2 | # Author : Ernest Kugel <erik.kugel@gmail.com> |
3 | # |
4 | # This is free software, licensed under the GNU General Public License v2. |
5 | # See /LICENSE for more information. |
6 | # |
7 | |
8 | include $(TOPDIR)/rules.mk |
9 | |
10 | PKG_NAME:=myserver |
11 | PKG_VERSION:=0.9.2 |
12 | PKG_RELEASE:=1 |
13 | |
14 | PKG_SOURCE:=myserver-$(PKG_VERSION).tar.gz |
15 | PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/myserver/0.9.2 |
16 | PKG_CAT:=zcat |
17 | |
18 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
19 | |
20 | include $(INCLUDE_DIR)/package.mk |
21 | |
22 | TARGET_LDFLAGS+= \ |
23 | -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
24 | |
25 | define Package/myserver |
26 | SECTION:=utils |
27 | CATEGORY:=Utilities |
28 | TITLE:=MyServer is a powerful and easy to configure web server |
29 | URL:=http://www.myserverproject.net/index.php/Main_Page |
30 | DEPENDS:=@BROKEN +libgnutls-openssl |
31 | endef |
32 | |
33 | define Package/myserver/description |
34 | MyServer is a powerful and easy to configure web server. |
35 | Its multi-threaded architecture makes it extremely scalable and |
36 | usable in large scale sites as well as in small networks, it has |
37 | a lot of built-in features. Share your files in minutes! |
38 | endef |
39 | |
40 | define Build/Configure |
41 | $(call Build/Configure/Default) |
42 | endef |
43 | |
44 | define Package/myserver/install |
45 | $(INSTALL_DIR) $(1)/usr/bin |
46 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/myserver/myserver $(1)/usr/sbin/ |
47 | endef |
48 | |
49 | $(eval $(call BuildPackage,myserver)) |
50 |