Changeset 11977


Ignore:
Timestamp:
2008-07-28T22:21:01+02:00 (10 years ago)
Author:
blogic
Message:

add xmail uci scripts, thanks pqa #3753

Location:
packages/mail/xmail
Files:
3 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/mail/xmail/Makefile

    r11718 r11977  
    2222  SECTION:=mail 
    2323  CATEGORY:=Mail 
    24   DEPENDS:=+uclibcxx +libopenssl 
     24  DEPENDS:=+uclibcxx +libopenssl +libpthread 
    2525  TITLE:=advanced, fast and reliable ESMTP/POP3 mail server 
    2626  URL:=http://www.xmailserver.org/ 
     
    3333endef 
    3434 
    35 define Build/Configure 
    36         $(CP) ./files/SysMachine.h $(PKG_BUILD_DIR)/ 
    37 endef 
    38  
    3935define Build/Compile 
    4036        CFLAGS="$(TARGET_CFLAGS)" \ 
     
    4541                LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lcrypto -lssl -luClibc++ -ldl -lm -lpthread" \ 
    4642                all 
     43        tar -cjf $(PKG_BUILD_DIR)/MailRoot.tar.bz2 -C $(PKG_BUILD_DIR)/MailRoot --exclude bin . 
    4744endef 
    4845 
     
    5047        $(INSTALL_DIR) $(1)/usr/bin/ 
    5148        $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/* $(1)/usr/bin/ 
    52         $(INSTALL_DIR) $(1)/var/MailRoot/ 
    53         $(CP) $(PKG_BUILD_DIR)/MailRoot $(1)/var/ 
     49        $(INSTALL_DIR) $(1)/etc 
     50        $(INSTALL_DATA) $(PKG_BUILD_DIR)/MailRoot.tar.bz2 $(1)/etc/ 
     51        $(INSTALL_DIR) $(1)/etc/config 
     52        $(INSTALL_DATA) ./files/xmail.config $(1)/etc/config/xmail 
     53        $(INSTALL_DIR) $(1)/etc/init.d/ 
     54        $(INSTALL_BIN) ./files/xmail.init $(1)/etc/init.d/xmail 
    5455endef 
    5556 
Note: See TracChangeset for help on using the changeset viewer.