注册 登录
星韵地理网 返回首页

wen的个人空间 http://www.xingyun.org.cn/?1517 [收藏] [复制] [分享] [RSS]

日志

今天写的一点东西:

已有 331 次阅读2004-12-1 10:42 |个人分类:资源记录

英文和技术上问题都还比较幼稚,算个留念吧。

Mr. Isaac Clerencia

    Several months ago i email you to ask something about how to make LAMP program into deb package.Thank you for your enthusiastic reply.

    These days i am practising make a deb package. Since i am a teacher i am interested in some educational software which is similar with moodle. i decide to make S@S(siteatschool.sf.net) into a deb package. i think S@S is a very good program for k12 school which can afford every teacher and student a homepage easily.

    Install S@S is much simpler than moodle, just copy all the sources code into /usr/share and add a alias to apache\'s config file is OK. So i make the S@S deb file as below:
    1 make a directory debian    #make -p debian
    2 make directory usr/shar    #make -p debian/usr/share
    3 copy the whole source code under debian/usr/share
    4 make directory: #make -p debian/DEBIAN
    5 create a control file under debian/DEBIAN      #nano debian/DEBIAN/control
    if now i create the deb file with #dpkg-deb --build debian i can get the deb file and i can install it with #dpkg -i debian.deb, but than i should edit the apache\'s config file manually. So i want edit a postinst file but i failed.

    Could you help me with these question:
    1 what is the error in the methods i used above ?
    2 i want make the deb file as Debian\'s "New maintainer guide" says, but i do not how to write the correct rule file and postinst file. i have read the rule file in your moodle\'s source deb file, but i wander which line of code copy the source code into /usr/share ?
 
   Thanks in advance.

                                                                  Wen 20041201    

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|Archiver|小黑屋|星韵百科|星韵地理网 ( 苏ICP备16002021号 )

GMT+8, 2024-5-20 22:51 , Processed in 0.073821 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

返回顶部