English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/esound/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2552 - (show annotations) (download)
Sat May 19 18:53:25 2007 UTC (6 years, 9 months ago) by wbx
File size: 1917 byte(s)
add esd sound daemon, nice for network sound card, idea and esd patch from Sven Geggus
1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:= esound
10 PKG_VERSION:= 0.2.38
11 PKG_RELEASE:= 1
12 PKG_MD5SUM:= 77c4e9805a017fba06552487df3c6662
13 PKG_SOURCE_URL:= ftp://ftp.gnome.org/pub/gnome/sources/esound/0.2
14 PKG_INIT:= 90
15
16 include $(TOPDIR)/mk/package.mk
17
18 $(eval $(call PKG_template,ESOUND,esound,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(WRKBUILD)/.configured:
21 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(strip $(TARGET_CFLAGS)) -I$(STAGING_DIR)/include" \
24 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
25 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
26 ./configure \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
30 --program-prefix="" \
31 --program-suffix="" \
32 --prefix=/usr \
33 --exec-prefix=/usr \
34 --bindir=/usr/bin \
35 --datadir=/usr/share \
36 --includedir=/usr/include \
37 --infodir=/usr/share/info \
38 --libdir=/usr/lib \
39 --libexecdir=/usr/lib \
40 --localstatedir=/var \
41 --mandir=/usr/share/man \
42 --sbindir=/usr/sbin \
43 --sysconfdir=/etc \
44 --disable-nls \
45 --disable-static \
46 );
47 touch $@
48
49 $(WRKBUILD)/.built:
50 $(MAKE) -C $(WRKBUILD)
51 mkdir -p $(WRKINST)
52 $(MAKE) -C $(WRKBUILD) \
53 DESTDIR="$(WRKINST)" \
54 install
55 touch $@
56
57 $(IPKG_ESOUND):
58 install -d -m0755 $(IDIR_ESOUND)/etc/init.d
59 install -d -m0755 $(IDIR_ESOUND)/usr/lib
60 install -d -m0755 $(IDIR_ESOUND)/usr/bin
61 $(INSTALL_BIN) ./files/esd.init $(IDIR_ESOUND)/etc/init.d/S$(PKG_INIT)esd
62 $(CP) $(WRKINST)/usr/bin/esd $(IDIR_ESOUND)/usr/bin/
63 $(CP) $(WRKINST)/usr/lib/libesd.so.* $(IDIR_ESOUND)/usr/lib/
64 $(RSTRIP) $(IDIR_ESOUND)
65 $(IPKG_BUILD) $(IDIR_ESOUND) $(PACKAGE_DIR)

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20