Root/myserver/Makefile

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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=myserver
11PKG_VERSION:=0.9.2
12PKG_RELEASE:=1
13
14PKG_SOURCE:=myserver-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/myserver/0.9.2
16PKG_CAT:=zcat
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20include $(INCLUDE_DIR)/package.mk
21
22TARGET_LDFLAGS+= \
23    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24
25define 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
31endef
32
33define 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!
38endef
39
40define Build/Configure
41    $(call Build/Configure/Default)
42endef
43
44define Package/myserver/install
45    $(INSTALL_DIR) $(1)/usr/bin
46    $(INSTALL_BIN) $(PKG_BUILD_DIR)/myserver/myserver $(1)/usr/sbin/
47endef
48
49$(eval $(call BuildPackage,myserver))
50

Archive Download this file



interactive