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 2555 - (show annotations) (download)
Sun May 20 07:51:19 2007 UTC (6 years, 9 months ago) by wbx
File size: 1972 byte(s)
add PKG_CONFIG_PATH
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:= 2
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 PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
27 ./configure \
28 --target=$(GNU_TARGET_NAME) \
29 --host=$(GNU_TARGET_NAME) \
30 --build=$(GNU_HOST_NAME) \
31 --program-prefix="" \
32 --program-suffix="" \
33 --prefix=/usr \
34 --exec-prefix=/usr \
35 --bindir=/usr/bin \
36 --datadir=/usr/share \
37 --includedir=/usr/include \
38 --infodir=/usr/share/info \
39 --libdir=/usr/lib \
40 --libexecdir=/usr/lib \
41 --localstatedir=/var \
42 --mandir=/usr/share/man \
43 --sbindir=/usr/sbin \
44 --sysconfdir=/etc \
45 --disable-nls \
46 --disable-static \
47 );
48 touch $@
49
50 $(WRKBUILD)/.built:
51 $(MAKE) -C $(WRKBUILD)
52 mkdir -p $(WRKINST)
53 $(MAKE) -C $(WRKBUILD) \
54 DESTDIR="$(WRKINST)" \
55 install
56 touch $@
57
58 $(IPKG_ESOUND):
59 install -d -m0755 $(IDIR_ESOUND)/etc/init.d
60 install -d -m0755 $(IDIR_ESOUND)/usr/lib
61 install -d -m0755 $(IDIR_ESOUND)/usr/bin
62 $(INSTALL_BIN) ./files/esd.init $(IDIR_ESOUND)/etc/init.d/S$(PKG_INIT)esd
63 $(CP) $(WRKINST)/usr/bin/esd $(IDIR_ESOUND)/usr/bin/
64 $(CP) $(WRKINST)/usr/lib/libesd.so.* $(IDIR_ESOUND)/usr/lib/
65 $(RSTRIP) $(IDIR_ESOUND)
66 $(IPKG_BUILD) $(IDIR_ESOUND) $(PACKAGE_DIR)

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