Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
aiccu
apache
apache2
asterisk-chan-capi
asterisk-chan-dongle
asterisk-chan-sccp
asterisk-gui
asterisk
authorized-keys
autofs
autossh
avahi
avm-firewall
avm-forwarding
axtlswrap
bash
bftpd
bfusb
bind
bip
bird
bittwist
bluez-utils
br2684ctl
bridge-utils
busybox
callmonitor
ccid
checkmaild
cifsmount
classpath
cntlm
collectd
comgt
cpmaccfg-cgi
cpmaccfg
cryptsetup
ctorrent
curl
dante
davfs2
dbus
debootstrap
deco
decrypt-fritzos-cfg
digitemp
dns2tcp
dnsd-cgi
dnsmasq
dosfstools
downloader
dropbear
dtach
dtmfbox-cgi
dtmfbox
dvbsnoop
dvbstream
dvbtune
e2fsprogs
emailrelay
empty
espeak
ffmpeg
fortune
fowsr
fstyp
fuse
gdb
ghostscript-fonts
git
gntpsend
gnu-make
gnutls
gocr
gw6
haproxy
haserl
hd-idle
hol
hp-utils
hplip
html2text
htop
htpdate
httpry
httptunnel
iconv
ifstat
iftop
igmpproxy
imagemagick
inadyn-mt
inadyn-opendns
inetd
inotify-tools
iodine
ipsec-tools
iptables-cgi
iptables
iptraf
iputils
irssi
isc-dhcp
jamvm
js
knock
ldd
lftp
libs
lighttpd
linux
lsof
ltrace
lua
lynx
madplay
matrixtunnel
mc
mcabber
mediatomb
microperl
mini-snmpd
mini_fo
minicom
minidlna
mod
modcgi
module-init-tools
mtr
nagios
nano-shell
nano
nc6
ncftp
ndas
netatalk
netcat
netpbm
netsnmp
nfs-utils
nfsd-cgi
nfsroot
ngircd
nhipt
nmap
noip
ntfs
nzbget
obexftp
oidentd
onlinechanged-cgi
openconnect
opendd
openntpd
openssh
openssl
openvpn-cgi
openvpn-v2-cgi
openvpn
owfs
pciutils
pcsc-lite
phonebook-tools
php
phpxmail
pingtunnel
polipo
portmap
ppp-cgi
ppp
pppd
pptp
pptpd
privatekeypassword
privoxy
pyload
python-bjoern
python-cheetah
python-imaging-library
python-mechanize
python-pycrypto
python-pycurl
python-pyopenssl
python-pyrrd
python-pyserial
python-yenc
python
quagga
radvd
rcapid
ripmime
rrdstats
rrdtool
rsync
rtmpdump
ruby-fcgi
ruby
rush
sablevm-sdk
samba
sane-backends
scanbuttond
screen
ser2net
sg3_utils
shellinabox
siproxd
sispmctl
slang
slurm
smartmontools
smstools3
smusbutil
socat
spawn-fcgi
spindown-cgi
sqlite
squashfs3
squashfs4
squid
sshfs-fuse
sslh
strace
streamripper
stunnel
subversion
sudo
sundtek
synce-dccm
synce-serial
syslogd-cgi
target-tester
tcp_wrappers
tcpdump
tcpproxy
tesseract-deu
tesseract-eng
tesseract
tiff
tinc
tinyproxy
tmux
tor
transmission-cgi
transmission
tree
trickle
truecrypt
udpxy
umurmur
unfs3
unrar
usbids
usbip
usbroot
usbutils
util-linux
vim
virtualip-cgi
vnstat-cgi
vnstat
vpnc
vsftpd
vtun
wget
wol-cgi
wol
wput
xmail
xpdf
xrelayd
xsltproc
xz
zabbix
.gitignore
Makefile.in
README.Makefiles

README.Makefiles

By convention, each package has two package names. In this text we
will refer to them as $pkg and $PKG.  The name
$pkg usually consists of lower case letters, digits, underlines
and hyphens. $PKG consists of uppercase letters, digits and
underlines, but no hyphens.  Normally $PKG is the name
$pkg with letters converted to upper case and hyphens
converted to underlines. Version numbers are not part of a package
name, so most package names don't contain digits.

Packages may be either library packages or binary packages.  Library
packages are in make/libs/*, while binary packages are in make/*.

Each package must define the following targets:

$(pkg)-download
	Download source for the package

${pkg}-source
${pkg}-unpacked
	Unpack source for the package

${pkg}-precompiled
	Compile package and prepare for firmware generation

${pkg}-clean
${pkg}-dirclean
	Remove all files that can be recreated

${pkg}-list
	add package to the list of static or dynamic patches

${pkg}-uninstall
	remove binary files from package or library files from root/${FREETZ_LIBRARY_DIR}


To use the convenience macros, you need some more defines:
# initialize package macros, ether BINary or LIBrary.
#   $(1) = version (mandatory)
#   $(2) = lower-case package name (optional, default name of makefile)
#   $(3) = upper-case package name (optional, default $2 converted to uppercase/underline)
# default values for
#  - $(PKG)_DIR : directory for sources
#  - $(PKG)_MAKE_DIR : directory for freetz makefile, patches and files
#  - $(PKG)_TARGET_DIR : directory for installation
BIN:
$(call PKG_INIT_BIN, VERSION, [pkg], [PKG])
LIB:
$(call PKG_INIT_LIB, VERSION, [pkg], [PKG])

# The download URL, split in directory part and filename
$(PKG)_SITE:=http://www.server.net/download
$(PKG)_SOURCE:=package-name-$($(PKG)_VERSION).tar.gz

# directory containing the makefiles. This value is the default from PKG_INIT.
# It should not be necessary to override this value.
$(PKG)_MAKE_DIR:=$(MAKE_DIR)/$(pkg)

# directory for sourcefile, "$($(PKG)_SOURCE_DIR)/" and the directory created by extracting the tar-file
# This value is the default from PKG_INIT.
$(PKG)_DIR:=$($(PKG)_SOURCE_DIR)/package-name-$($(PKG)_VERSION)

# target directory for the package. The default value depends on BIN/LIB,
# It should not be necessary to override this value.
BIN:
$(PKG)_TARGET_DIR:=$(PACKAGES_DIR)/$(pkg)-$($(PKG)_VERSION)
LIB:
$(PKG)_TARGET_DIR:=$(TARGET_SPECIFIC_ROOT_DIR)$(FREETZ_LIBRARY_DIR)

# root directory for installation. The default value depends on BIN/LIB,
# It should not be necessary to override this value.
BIN:
$(PKG)_TARGET_DIR:=$(PACKAGES_DIR)/$(pkg)-$($(PKG)_VERSION)/root
LIB:
$(PKG)_TARGET_DIR:=$(TARGET_SPECIFIC_ROOT_DIR)

# Order for inclusion in list of static or dynamic packages. Only for binary packages.
# Only necessary if the package contains a run-script
# The default is 99, which is intended for packages that have no run-script.
$(PKG)_STARTLEVEL=40


# Now you can use these macros:
# Download $($(PKG)_SITE)/$($(PKG)_SOURCE) to dl/$($(PKG)_SOURCE)
# defines $(pkg)-download
$(PKG_SOURCE_DOWNLOAD)

# Unpack binary or library package from dl/$($(PKG)_SOURCE) and apply patches
# defines $(pkg)-unpacked and $(pkg)-source
#
# Some packages contain suboptions. If $(PKG)_REBUILD_SUBOPTS is defined, the package is
# rebuild from scratch if one of the named options are changed in .config.
$(PKG_UNPACKED)

# configure package with ./configure with standard options
# common settings are read from include/site/*, a common config.cache is enabled.
# for special needs, use these macros:
#  - $(PKG)_CONFIGURE_PRE_CMDS
#    commands to execute before ./configure
#    terminate each command with ';'
#    example: $(PKG)_CONFIGURE_PRE_CMDS += autoconf --force ;
#  - $(PKG)_CONFIGURE_ENV
#    environment assignments before ./configure
#    example: $(PKG)_CONFIGURE_ENV += ac_cv_special_value=yes
#  - $(PKG)_CONFIGURE_OPTIONS
#    options for ./configure
#    example: $(PKG)_CONFIGURE_OPTIONS += --with-foo --enable-bar
$(PKG_CONFIGURED_CONFIGURE)

# If the package has no configuration, use this
$(PKG_CONFIGURED_NOP)

# Finalize package
# defines ${pkg}-list for binary packages
# defines $(pkg)-dirclean
$(PKG_FINISH)